[OSM-talk] Running JOSM
Immanuel Scholz
immanuel.scholz at gmx.de
Fri Jun 2 10:04:22 BST 2006
Hi,
I'm answer to an rather old post from May, 12th.
> Just downloaded the josm-latest.jar, from the link at
> http://wiki.openstreetmap.org/index.php/JOSM
>
> Running it on Linux gives the error message:
> "Exception in thread "main" java.lang.NoClassDefFoundError:
> josm-latest.jar
> at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)"
As said before, JOSM does not run with the Java implementation from GNU
together with Classpath, which is preinstalled for many Linux
distributions for today.
> Running on Windows gives the error message:
> "Cannot find the main class. Program will exit!"
That looks strange. How do you tried to start the it and see this message?
If you did something like entering into a command shell:
java josm-latest.jar
then replace it with
java -jar josm-latest.jar
;-). On any recently intstalled java binary from SUN you should also be
able to just double click on the jar file.
> Running it on Mac OS gives the error message:
> "The file "josm-latest.jar couldn't be launched."
If you have 10.3, then you have not the correct java version (at least 1.5
required). If you have 10.4, then maybe no java is installed for your OS
version at all?
Some explanation on how to start and how to obtain the correct Java
version (especally for Linux) is at
http://www.eigenheimstrasse.de/svn/josm/README
Ciao, Imi
More information about the talk
mailing list