| 1 |
|
| 2 |
Getting started |
| 3 |
=============== |
| 4 |
|
| 5 |
== Install java |
| 6 |
To use mkgmap you need to install Java. |
| 7 |
Download it from http://www.java.com[java.com] |
| 8 |
and install it. |
| 9 |
|
| 10 |
ifdef::linux[] |
| 11 |
=== Linux packages |
| 12 |
If you are running Linux, then you may prefer to install java from you |
| 13 |
systems package manager, instead of from the Java site. |
| 14 |
|
| 15 |
The package has a name like *java-1.7.0-openjdk* on Fedora and similar |
| 16 |
distributions; on Ubuntu, Debian and similar it has a name |
| 17 |
like *openjdk-7-jre* |
| 18 |
|
| 19 |
endif::linux[] |
| 20 |
|
| 21 |
== Download mkgmap |
| 22 |
Download +mkgmap+ from the |
| 23 |
http://www.mkgmap.org.uk/download/mkgmap.html[mkgmap download site]. |
| 24 |
|
| 25 |
Unzip the file into a folder or directory, the rest of the tutorial |
| 26 |
will assume that you are working within that directory. |
| 27 |
|
| 28 |
The main file is called +mkgmap.jar+ which is the main part of the |
| 29 |
program itself and the +lib+ folder that contains other parts |
| 30 |
of the program. It is important that the +mkgmap.jar+ and the +lib+ |
| 31 |
folder stay together: if you move one you must move the other. |
| 32 |
|
| 33 |
There will also be +doc+ folder containing the available documentation, |
| 34 |
and an examples folder which can be ignored. |