| [63] | 1 | This is a readme.txt to the Java OpenStreetMap Editor | 
|---|
| [14] | 2 |  | 
|---|
|  | 3 |  | 
|---|
|  | 4 | Install Notes | 
|---|
|  | 5 | ------------- | 
|---|
|  | 6 |  | 
|---|
|  | 7 | To run JOSM, you need: | 
|---|
|  | 8 |  | 
|---|
| [165] | 9 | * The jar file (e.g. josm.jar) | 
|---|
| [14] | 10 | * The latest Java Runtime Environment 1.5. | 
|---|
|  | 11 |  | 
|---|
|  | 12 |  | 
|---|
|  | 13 | How to get Java | 
|---|
|  | 14 | --------------- | 
|---|
|  | 15 |  | 
|---|
|  | 16 | You need at least Version 1.5 (called Java5 or "Tiger"). | 
|---|
|  | 17 |  | 
|---|
|  | 18 | Microsoft Windows people should just visit java.sun.com and | 
|---|
|  | 19 | download the latest Java5 executable. | 
|---|
|  | 20 |  | 
|---|
|  | 21 | To get Java under linux, I recommend downloading the environment | 
|---|
|  | 22 | directly from Sun at http://java.sun.com. There is a linux | 
|---|
| [41] | 23 | binary installer which you have to execute from a console. | 
|---|
| [14] | 24 |  | 
|---|
|  | 25 | However, if you run Debian or Ubuntu or any other dpkg-based | 
|---|
|  | 26 | distribution, you may use unofficial precompiled packages. | 
|---|
|  | 27 | You have to add the following line to your /etc/apt/sources.list | 
|---|
|  | 28 | (replace "stable" with your installation) | 
|---|
|  | 29 |  | 
|---|
| [41] | 30 | deb http://ftp.debian-unofficial.org/debian/ stable non-free | 
|---|
| [14] | 31 |  | 
|---|
| [101] | 32 | The package is called sun-j2se5.0-jre-binary. | 
|---|
| [14] | 33 |  | 
|---|
| [18] | 34 | For MacOS user: There is an installer for Mac OS X 10.4: | 
|---|
|  | 35 | http://www.apple.com/support/downloads/java2se50release1.html | 
|---|
| [14] | 36 |  | 
|---|
| [101] | 37 | Sorry, there is no Version of Java5 for Mac OS X 10.3 available :-( | 
|---|
| [14] | 38 |  | 
|---|
| [101] | 39 |  | 
|---|
| [14] | 40 | How to launch | 
|---|
|  | 41 | ------------- | 
|---|
|  | 42 |  | 
|---|
| [41] | 43 | Microsoft Windows people launch by double clicking on the jar file. | 
|---|
| [14] | 44 | If this does not help, open a command shell and type | 
|---|
| [41] | 45 | "java -jar josm-latest.jar" in the directory that holds the file. | 
|---|
|  | 46 | (Please replace josm-latest.jar with the name of your jar file, if | 
|---|
|  | 47 | you don't used the latest version.) | 
|---|
| [14] | 48 |  | 
|---|
|  | 49 | Under Linux open a shell, go to the file directory and type | 
|---|
| [36] | 50 | "java -jar josm-latest.jar" to launch. If this don't help, try to set | 
|---|
| [14] | 51 | you JAVA_HOME variable to the java location (the root location, not | 
|---|
|  | 52 | the bin. "/usr/lib/sun-j2se5.0-jdk" if you used the prebuild | 
|---|
|  | 53 | package). | 
|---|
|  | 54 |  | 
|---|
|  | 55 | MacOS people just click on the jar-file. | 
|---|
|  | 56 |  | 
|---|
|  | 57 |  | 
|---|
|  | 58 | How to get the Source | 
|---|
|  | 59 | --------------------- | 
|---|
|  | 60 |  | 
|---|
| [36] | 61 | Download it directly from the subversion at | 
|---|
| [339] | 62 | https://josm.openstreetmap.de/svn/trunk. To use the command line | 
|---|
| [41] | 63 | subverion client, type | 
|---|
| [14] | 64 |  | 
|---|
| [339] | 65 | svn co https://josm.openstreetmap.de/svn/trunk | 
|---|
| [14] | 66 |  | 
|---|
|  | 67 |  | 
|---|
| [41] | 68 | Ciao, Imi. | 
|---|