java.lang.UnsupportedClassVersionError:

Any one know what is wrong here? I have seen this error before with other java projects. What is the problem and the fix?





C:jme>java -Djava.library.path=./lib -cp ./lib/lwjgl.jar;./lib/jogg0.0.5.jar;.

/lib/jorbis-0.0.12.jar;./target/jme.jar;./target/jmetest.jar;./target/jmetest-data.jar jmetest.TutorialGuide.HelloAnimation



Exception in thread "main" java.lang.UnsupportedClassVersionError: com/jme/app/S

impleGame (Unsupported major.minor version 48.0)

at java.lang.ClassLoader.defineClass0(Native Method)

at java.lang.ClassLoader.defineClass(ClassLoader.java:493)

at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11





Thanks

Pat

Class file version 48.0 is the class format for JDK1.4 (this means the second post here is not correct) - you are trying to run the application with an older java version (e.g. 1.3). -> Use a newer java executable. You can verify your java version by executing

java -version


This has to report at least version 1.4.