I'm new to openstreetmap, very new to their java editor josm and pretty clueless about java, having avoided it because it is non-portable. I got josm running on Mac OS 10.5.6 without any issues. But, I'd like to run it on NetBSD 5 i386. I have the following installed: sun-jre6-6.0.12 Sun's Java(tm) 2 Standard Edition, Java Runtime Environment (JRE) 6u12 sun-jdk6-6.0.12 Sun's Java(tm) 2 Standard Edition, JDK 6u12 and josm-latest.tgz downloaded today (so it has the "recognize NetBSD as unix" patch from November). I have a script to start josm: #!/bin/sh export JAVA_HOME=/usr/pkg/java/sun-6 PATH=/usr/pkg/java/sun-6/bin:$PATH cd $HOME/SOFTWARE/JOSM java -Dsun.java2d.opengl=true -Xmx768M -jar josm-latest.jar and it crashes on startup: java.lang.ClassNotFoundException: at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Unknown Source) at org.openstreetmap.josm.Main.preConstructorInit(Main.java:255) at org.openstreetmap.josm.gui.MainApplication.main(MainApplication.java:166) Feb 20 18:59:57 poblano /netbsd: pid 7353 (java), uid 10853: exited on signal 11 (core dumped) Feb 20 18:59:58 poblano /netbsd: pid 17889 (java), uid 10853: exited on signal 11 (core dumped) Feb 20 18:59:59 poblano /netbsd: pid 21284 (java), uid 10853: exited on signal 11 (core dumped) Feb 20 19:00:00 poblano /netbsd: pid 9981 (java), uid 10853: exited on signal 11 (core dumped) Feb 20 19:00:01 poblano /netbsd: pid 3148 (java), uid 10853: exited on signal 11 (core dumped) So even if the OSM JOSM editor is buggy, I would say that the java editor should not crash. So I went to look for an example and that runs ok: /usr/pkg/java/sun-6/demo/jfc/Notepad > /usr/pkg/java/sun-6/bin/java -jar Notepad.jar Has anyone else seen this?
Attachment:
pgpYUObmBJE7V.pgp
Description: PGP signature