Hi all,
the /usr/bin/josm wrapper ignores (or does not recognize) openjdk as a valid 
jvm even when it is installed. I had to change the JAVA_CMDS variable in the 
wrapper to look like this, to get it working:

JAVA_CMDS="$JAVA_HOME/bin/java /usr/lib/jvm/java-6-sun/jre/bin/java
/usr/lib/jvm/java-1.5.0-sun/jre/bin/java /usr/bin/jamvm /usr/bin/gij-4.1
/usr/lib/jvm/java-6-openjdk/jre/bin/java"

A further bug is that there is no menu entry for JOSM. I had to add a
josm.desktop file with this contents to the /usr/share/applications
directory:

[Desktop Entry]
Encoding=UTF-8
Name=JOSM
Comment=Editor for OpenStreetMap
Exec=josm
Icon=josm-32
Terminal=false
Type=Application
Categories=Development;Application;

Regards
Guido

-- 
No valid JVM found to run JOSM.
https://bugs.launchpad.net/bugs/231869
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to