reassign 345012 classpath 2:0.19-2
retitle 345012 classpath: class java.lang.Enum missing
thanks

On Wed, Dec 28, 2005 at 02:28:53PM +0100, Petter Reinholdtsen wrote:
> 
> Package: jamvm
> Version: 1.3.3-2
> 
> Trying to run the Java OpenStreetmap client fail with a
> NoClassDefFoundError exception.  To test, download
> <URL:http://www.eigenheimstrasse.de/josm/josm-rc1.jar>, and run like
> this:
> 
> % 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
> 
> I believe this is because some Java 5 features are missing from jamvm.

The feature is not missing in jamvm but in classpath. Java 5 features
are not yet implemented in normal classpath. They are in the works in a
special CVS branch in classpath. We will upload a special classpath
(jamvm depending on it) soon after the 0.20 release of classpath.


Cheers,
Michael
-- 
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html

Join the community at http://planet.classpath.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to