Exception UnsupportedClassVersionError when using SendEvent Ressource in BusinessWorks.
book
Article ID: KB0085976
calendar_today
Updated On:
Products
Versions
TIBCO BusinessEvents Enterprise Edition
-
Not Applicable
-
Description
Resolution: Description: =========== Exception UnsupportedClassVersionError when using SendEvent Ressource in BusinessWorks.
Environment: =========== BusinessEvents 4.0
Symptoms: ========= Exception: Bad version number in .class filejava.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$100(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:164) at com.tibco.xml.tns.impl.BootstrapTnsCache.Z(BootstrapTnsCache.java:93) at com.tibco.xml.tns.impl.BootstrapTnsCache.<init>(BootstrapTnsCache.java:43) at com.tibco.xml.tns.impl.TargetNamespaceCache.<init>(TargetNamespaceCache.java:41) at com.tibco.objectrepo.schema.VFileTNSCache.<init>(VFileTNSCache.java:116) at com.tibco.pe.core.RepoAgentImpl.<init>(RepoAgentImpl.java:84) at com.tibco.pe.core.RepoLoader.if(RepoLoader.java:187) at com.tibco.pe.core.RepoLoader.<init>(RepoLoader.java:118) at com.tibco.pe.PEMain.do(PEMain.java:332) at com.tibco.pe.PEMain.a(PEMain.java:197) at com.tibco.pe.PEMain.<init>(PEMain.java:184) at com.tibco.pe.PEMain.main(PEMain.java:122)
Cause: ====== Using the wrong version of Java.
Resolution: ======== BusinessEvents 4.0 requires JRE 6 (minimum supported version). Update tibco.env.JVM_LIB_PATH,tibco.env.JVM_LIB_PATH, tibco.env.JVM_LIB_DIR,tibco.env.TIB_JAVA_HOME to use Java version 1.6
Issue/Introduction
Exception UnsupportedClassVersionError when using SendEvent Ressource in BusinessWorks.