| 1 | This is a readme.txt to the Java OpenStreetMap Editor
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 | Install Notes
|
|---|
| 5 | -------------
|
|---|
| 6 |
|
|---|
| 7 | To run JOSM, you need:
|
|---|
| 8 |
|
|---|
| 9 | * The jar file (e.g. josm.jar)
|
|---|
| 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
|
|---|
| 23 | binary installer which you have to execute from a console.
|
|---|
| 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 |
|
|---|
| 30 | deb http://ftp.debian-unofficial.org/debian/ stable non-free
|
|---|
| 31 |
|
|---|
| 32 | The package is called sun-j2se5.0-jre-binary.
|
|---|
| 33 |
|
|---|
| 34 | For MacOS user: There is an installer for Mac OS X 10.4:
|
|---|
| 35 | http://www.apple.com/support/downloads/java2se50release1.html
|
|---|
| 36 |
|
|---|
| 37 | Sorry, there is no Version of Java5 for Mac OS X 10.3 available :-(
|
|---|
| 38 |
|
|---|
| 39 |
|
|---|
| 40 | How to launch
|
|---|
| 41 | -------------
|
|---|
| 42 |
|
|---|
| 43 | Microsoft Windows people launch by double clicking on the jar file.
|
|---|
| 44 | If this does not help, open a command shell and type
|
|---|
| 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.)
|
|---|
| 48 |
|
|---|
| 49 | Under Linux open a shell, go to the file directory and type
|
|---|
| 50 | "java -jar josm-latest.jar" to launch. If this don't help, try to set
|
|---|
| 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 |
|
|---|
| 61 | Download it directly from the subversion at
|
|---|
| 62 | https://josm.openstreetmap.de/svn/trunk. To use the command line
|
|---|
| 63 | subverion client, type
|
|---|
| 64 |
|
|---|
| 65 | svn co https://josm.openstreetmap.de/svn/trunk
|
|---|
| 66 |
|
|---|
| 67 |
|
|---|
| 68 | Ciao, Imi.
|
|---|