Error!!Unsupported class version-JVMCFRE003
Hi all,
I have installed RTC v6.0.1 and my build toolkit system v6.0.4 on IBM i and while i'm trying to build result in unsupported calss version error.Kindly guide me how to resolve by upgrading to higher version or is it possible to install lower version of build system toolkit on IBM i.My IBM i support java 6.2.6.
Caused by: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version; class=com/ibm/teami/build/toolkit/listener/IBMiEventFileDependencyListener, offset=6
* at java.lang.ClassLoader.defineClass(ClassLoader.java:273)
* at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:74)
* at java.net.URLClassLoader.defineClass(URLClassLoader.java:563)
* at java.net.URLClassLoader.defineClass(URLClassLoader.java:474)
* at java.net.URLClassLoader.access$300(URLClassLoader.java:77)
* at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:1059)
* at java.security.AccessController.doPrivileged(AccessController.java:488)
* at java.net.URLClassLoader.findClass(URLClassLoader.java:452)
* at java.lang.ClassLoader.loadClassHelper(ClassLoader.java:701)
* at java.lang.ClassLoader.loadClass(ClassLoader.java:680)
* at java.lang.ClassLoader.loadClass(ClassLoader.java:663)
* at java.lang.Class.forNameImpl(Native Method)
* at java.lang.Class.forName(Class.java:288)
* at org.apache.tools.ant.util.ClasspathUtils.newInstance(ClasspathUtils.java:249)
* ... 5 more
|
Accepted answer
Most of the time this [Caused by: java.lang.UnsupportedClassVersionError: JVMCFRE003 bad major version ]
Arumugaraj swamynathan selected this answer as the correct answer
Comments
Arumugaraj swamynathan
commented Aug 09 '17, 12:01 a.m.
Thank you kevin for your quick response and if i use build tookit of version 6.0.1 will it resolve this error as whether this build toolkit of version 6.0.1 will support java 1.6 version? No, because the root cause is most likely that you are running something that was built with a newer version of Java with an older version of Java.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.