Compile fine - Run Error
Submitted by Friday, 7 January, 2005 - 15:09
on
I have recently installed J2SE 5.0 and Jedit.
Everything I compile now compiles, but will not run.
I get this error in the console:
C:\Program Files\jEdit> java -classpath "$CLASSPATH;C:\javasrc" -ms32m -mx32m Hello
java.lang.UnsupportedClassVersionError: Hello (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" Process java exited with code 1
C:\Program Files\jEdit>
Please help me understand what I need to do to remedy this runtime issue.
Thank you.
Johnsey - ljohnsey@sedgwickcms.com
Everything I compile now compiles, but will not run.
I get this error in the console:
C:\Program Files\jEdit> java -classpath "$CLASSPATH;C:\javasrc" -ms32m -mx32m Hello
java.lang.UnsupportedClassVersionError: Hello (Unsupported major.minor version 49.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main" Process java exited with code 1
C:\Program Files\jEdit>
Please help me understand what I need to do to remedy this runtime issue.
Thank you.
Johnsey - ljohnsey@sedgwickcms.com