Changes between Initial Version and Version 1 of InstallNotes


Ignore:
Timestamp:
2006-07-18T15:31:18+02:00 (20 years ago)
Author:
imi
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • InstallNotes

    v1 v1  
     1== Release ==
     2The latest release is JOSM 1.2. Get it at: http://www.eigenheimstrasse.de/josm/josm-1.2.jar. The hotlink to the always latest release is http://www.eigenheimstrasse.de/josm/josm.jar
     3
     4== Nightly Builds ==
     5You can always grab the latest nightly build - version from http://www.eigenheimstrasse.de/josm/josm-latest.jar. It is usually pretty stable too.
     6
     7== Getting the Source ==
     8JOSM is available under GPL, and so of course you can get the sources and compile, modify or redistribute it by yourself. You can grab the sources via [http://subversion.tigris.org subversion]
     9
     10 svn co http://www.eigenheimstrasse.de/svn/josm
     11
     12''Hint: If you don't like those funny ''`.svn`'' directories, use ''`svn export`'' instead of `svn co`''
     13
     14Or you can inspect single files over the web frontend at http://www.eigenheimstrasse.de/svn/josm.
     15
     16== Compiling ==
     17To build the source the most easy way, use eclipse and the provided `.project` and `.classpath` file. Just add a new Java Project using the JOSM source folder as existing path.
     18
     19You can also build it without eclipse. To do so, change into the `src/` folder and call `javac` on the file `org/openstreetmap/josm/Main` with `../lib/jdom.jar` in your classpath. If running linux, be sure to have your `JAVA_HOME` set.
     20
     21As example, this could look like:
     22
     23 $ cd ~/src
     24 $ svn co http://www.eigenheimstrasse.de/svn/josm
     25 ''tons of output here''
     26 $ export JAVA_HOME=/usr/local/jdk1.5.0
     27 $ cd josm/src
     28 $ javac -cp .:../lib/MinML2.jar:../lib/metadata-extractor-2.3.1.jar  org/openstreetmap/josm/gui/MainApplication.java
     29
     30== Running ==
     31=== Microsoft Windows ===
     32Launch it by double clicking on the jar file. If this does not help, open a command shell and type
     33
     34 java -jar ''josm.jar''
     35
     36in the directory that holds the file. Replace `''josm.jar''` with the name of the jar file you downloaded, e.G. `josm-latest.jar`
     37
     38=== Linux ===
     39Open a shell, go to the file directory and type
     40
     41 java -jar ''josm.jar''
     42
     43to launch. Replace `''josm.jar''` with the name of the jar file you loaded, e.G. `josm-latest.jar`
     44
     45If this don't help, try to set you JAVA_HOME variable to the java location (the root location, not the bin. As example:
     46
     47 export JAVA_HOME=/usr/lib/sun-j2se5.0-jdk
     48 java -jar ''josm.jar''
     49
     50If you are using KDE, there is a [http://www.eigenheimstrasse.de/josm/tutorials/setting_up_kde.avi tutorial] on how to setup your environment to start jar-files by clicking on them.
     51
     52If you are using GNOME, just right click on the JAR file, and select <u>O</u>pen with "Sun Java 5.0 Runtime", or whatever java version you have.
     53
     54If you are using XGL/Compiz then you may have to do the following:
     55
     56  export AWT_TOOLKIT=MToolkit && java -jar josm-test.jar
     57
     58as described here: http://kubasik.net/blog/index.php/2006/06/19/java-sun-150-and-xglcompiz-on-ubuntu/
     59
     60=== MacOS ===
     61Just click on the jar-file.