I am running windows Vista w/ java version 1.5.0_09.
I have attempted both methods of running / installing (via command-line & double-clicking the MarsProject.jar file - and neither method is working for me. Upon double-clicking the file, nothing happens - at all, and when trying to run it via command-line, this is the error message that I get:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Is there a resolution for this?
Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sorry it took me so long to get a resolution for this bug, but I think I've got a fix.
The problem was that I built the 2.86 release on a computer with a 1.6 java compiler and didn't set the JVM compliance in the build script to 1.5. I fixed this and tested it out on a WinXP box with just Java 1.5 installed.
Please let me know if it works for you or if you still have problems.
Version 2.87 and later builds will have the JVM 1.5 compliance setting in the build script so they shouldn't be a problem for you. We may at some point make JVM 1.6 the minimum requirement, but we don't have a need for that just yet.
Sorry it wasn't running on your system. Hope it works now.
I am running windows Vista w/ java version 1.5.0_09.
I have attempted both methods of running / installing (via command-line & double-clicking the MarsProject.jar file - and neither method is working for me. Upon double-clicking the file, nothing happens - at all, and when trying to run it via command-line, this is the error message that I get:
Exception in thread "main" java.lang.UnsupportedClassVersionError: Bad version number in .class file
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
Is there a resolution for this?
Thanks!
Sorry it took me so long to get a resolution for this bug, but I think I've got a fix.
The problem was that I built the 2.86 release on a computer with a 1.6 java compiler and didn't set the JVM compliance in the build script to 1.5. I fixed this and tested it out on a WinXP box with just Java 1.5 installed.
Here is the link to the patch build for 2.86:
http://mars-sim.sourceforge.net/download/MarsProject_2.86.1.zip
Please let me know if it works for you or if you still have problems.
Version 2.87 and later builds will have the JVM 1.5 compliance setting in the build script so they shouldn't be a problem for you. We may at some point make JVM 1.6 the minimum requirement, but we don't have a need for that just yet.
Sorry it wasn't running on your system. Hope it works now.
Scott Davis
Mars Simulation Project
http://mars-sim.sourceforge.net
scud1@users.sourceforge.net