Exception in thread "main" java.lang.UnsupportedClassVersionError: chess/Cupcake
: Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
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$000(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)
Could not find the main class: chess.Cupcake. Program will exit.
I am using Java 1.6.0_32 on a 64 bit Windows 7 platform. Any guidance would be most appreciated.
tmokonen wrote:I am using Java 1.6.0_32 on a 64 bit Windows 7 platform. Any guidance would be most appreciated.
Hi Tony,
I'm pretty much a Java noob but I'm fairly sure the error you are getting is because I used a later version than you're using. Mine is 1.7.0_03.
I don't think I'm actually using anything that requires 1.7 and I believe there is a way to build for earlier versions but I don't know how to do that yet I fear you're going to have to download the later version.
Dan Honeycutt wrote:..........Cupcake is a very weak engine and I have no aspiration to make it very strong. If that bug ever bites me I'll return to Bruja as the speed limitations of Java are pretty dire.............
A new version of Bruja would be great. Let that bug loose!
Exception in thread "main" java.lang.UnsupportedClassVersionError: chess/Cupcake
: Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(Unknown Source)
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$000(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)
Could not find the main class: chess.Cupcake. Program will exit.
I am using Java 1.6.0_32 on a 64 bit Windows 7 platform. Any guidance would be most appreciated.
Hi Tony,
You need to update you version of Java to 1.7.0. This is my version >