"Unsupported major.minor version 51.0"
I get the following exception when I try to run an application (on another machine then my developer machine):
Exception in thread "main" java.lang.UnsupportedClassVersionError: notifytexts/N
otifyTexts : 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 java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.javafx.main.Main.getAppClass(Main.java:409)
at com.javafx.main.Main.launchApp(Main.java:435)
at com.javafx.main.Main.main(Main.java:567)
My first idea was that it was caused by different JavaFX versions, i.e. it's compiled with 2.0.1 but the other machine only has 2.0 installed, but it remains after being compliled with 2.0 as well.
Another application works fine on the same machine.
What I'm sort of wondering is, is this related to JavaFX at all, or is there something else going on?