[Openstreetmap] Re: JOSM release candidate

Petter Reinholdtsen pere at hungry.com
Wed Dec 28 09:28:48 GMT 2005


[Immanuel Scholz]
> Ladies and Gentlemen,
>
> finally I am proud to announce the first release candidate of JOSM.
>
> Download: http://www.eigenheimstrasse.de/josm/josm-rc1.jar

Do you test this java program with one of the free java
implementations?  I gave it a shot with jamvm from debian/sid, and got
this backtrace:

  % jamvm -jar josm-rc1.jar
  java.lang.NoClassDefFoundError: org/openstreetmap/josm/data/projection/UTM$Hemisphere
     at org.openstreetmap.josm.data.projection.UTM.<init> (UTM.java:88)
     at org.openstreetmap.josm.data.Preferences.<clinit> (Preferences.java:70)
     at org.openstreetmap.josm.Main.<clinit> (Main.java:46)
     at java.lang.VMClass.forName (Native Method)
     at java.lang.Class.forName (Class.java:207)
     at jamvm.java.lang.JarLauncher.main (JarLauncher.java:47)
  Caused by: java.lang.NoClassDefFoundError: java/lang/Enum
     at java.lang.VMClassLoader.defineClass (Native Method)
     at java.lang.ClassLoader.defineClass (ClassLoader.java:472)
     at java.security.SecureClassLoader.defineClass (SecureClassLoader.java:108)
     at java.net.URLClassLoader.findClass (URLClassLoader.java:955)
     at java.lang.ClassLoader.loadClass (ClassLoader.java:342)
     at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1110)
     at java.lang.ClassLoader.loadClass (ClassLoader.java:294)
     at org.openstreetmap.josm.data.projection.UTM.<init> (UTM.java:88)
     ...5 more
  Caused by: java.lang.ClassNotFoundException: java.lang.Enum not found in java.lang.ClassLoader$1{urls=[file:/home/pere/src/debian/java/josm-rc1.jar], parent=null}
     at java.net.URLClassLoader.findClass (URLClassLoader.java:870)
     at java.lang.ClassLoader.loadClass (ClassLoader.java:342)
     at java.lang.ClassLoader$1.loadClass (ClassLoader.java:1110)
     at java.lang.ClassLoader.loadClass (ClassLoader.java:294)
     at java.lang.VMClassLoader.defineClass (Native Method)
     ...12 more

Any idea what is wrong?  I'm not very good at testing java packages,
so I might have gotten the command line wrong.

gij gave me another backtrace:

  % gij -jar josm-rc1.jar
  Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: org.openstreetmap.josm.Main
     at java.lang.VMClassLoader.transformException(java.lang.Class, java.lang.Throwable) (/usr/lib/libgcj.so.6.0.0)
     at java.lang.VMClassLoader.resolveClass(java.lang.Class) (/usr/lib/libgcj.so.6.0.0)
     at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.6.0.0)
     at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
     at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
  Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:josm-rc1.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
     at java.net.URLClassLoader.findClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
     at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
     at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
     at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
     ...4 more





More information about the talk mailing list