"Error message"
Legacy User
New Altair Community Member
Hello,
I've got problems using RapidMiner in my java programm. Starting my programm on my notebook, there are no problems, but when ich try to run my program on another computer where a database is which I need, I get the following message:
Exception in thread "main" java.lang.UnsupportedClassVersionError: (com/rapidminer/operator/Operator) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:223)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:556)
at java.net.URLClassLoader.access$400(URLClassLoader.java:119)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:961)
at java.security.AccessController.doPrivileged(AccessController.java:275)
at java.net.URLClassLoader.findClass(URLClassLoader.java:487)
at java.lang.ClassLoader.loadClass(ClassLoader.java:602)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:327)
at java.lang.ClassLoader.loadClass(ClassLoader.java:568)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:63)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:124)
at PredictionLoop.<init>(PredictionLoop.java:15)
at PredictionLoop.main(PredictionLoop.java:46)
Does somebody know where the problem is?
I've got problems using RapidMiner in my java programm. Starting my programm on my notebook, there are no problems, but when ich try to run my program on another computer where a database is which I need, I get the following message:
Exception in thread "main" java.lang.UnsupportedClassVersionError: (com/rapidminer/operator/Operator) bad major version at offset=6
at java.lang.ClassLoader.defineClassImpl(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:223)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:148)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:556)
at java.net.URLClassLoader.access$400(URLClassLoader.java:119)
at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:961)
at java.security.AccessController.doPrivileged(AccessController.java:275)
at java.net.URLClassLoader.findClass(URLClassLoader.java:487)
at java.lang.ClassLoader.loadClass(ClassLoader.java:602)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:327)
at java.lang.ClassLoader.loadClass(ClassLoader.java:568)
at java.lang.J9VMInternals.verifyImpl(Native Method)
at java.lang.J9VMInternals.verify(J9VMInternals.java:63)
at java.lang.J9VMInternals.initialize(J9VMInternals.java:124)
at PredictionLoop.<init>(PredictionLoop.java:15)
at PredictionLoop.main(PredictionLoop.java:46)
Does somebody know where the problem is?
0
Answers
-
Hello,
this is the Java's way of telling you that your Java version is not compatible to the compiled classes. The rapidminer.jar file of the Windows version is compiled with Java 6 and needs at least this version number. The platform independent version (rapidminer.jar from the rapidminer-X.X-community.zip) needs at least a Java version 5.
Cheers,
Ingo0