[JNBException] - ErrorJavaNotLoadedRequiresServerRestart: UnsupportedClassVersionError - Unsupported major.minor version

 

Problem Description:


DataSplice cannot load one or more required Maximo class files due to version incompatabilities.

 

Common Causes:

  • A corrupt or incompatible JVM has been defined for the Maximo plugin's "JvmDLLPath."
    • Using a 64bit JVM instead of 32bit.
    • JVM version doesn't support specified classes for the Maximo plugin's "JavaClassPath."
      • For example, Java 6 does not support Maximo 7.6.0.8+ classes and would throw the "Unsupported major.minor version error."

 

Fixes:

  • Ensure the Maximo plugin is utilizing a valid 32bit JVM, preferably the same version the Maximo application server is running on.


 

Example Error Logs & Stack Trace (../Server/logs/):


The Maximo plug-in encountered a fatal error and failed to load.
Failed to initialize the Maximo/Java interface.
Plug-in Status = JavaErrors
Java Interop Status = <strong>ErrorJavaNotLoadedRequiresServerRestart</strong>

Java Interop Status Details
<strong>java.lang.<u>UnsupportedClassVersionError</u>: psdi/util/Version : <u>Unsupported major.minor version 51.0</u></strong>

Java Stack Trace:

<strong>java.lang.<u>UnsupportedClassVersionError</u>: psdi/util/Version : <u>Unsupported major.minor version 51.0</u></strong>
   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)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Unknown Source)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
   at java.lang.reflect.Method.invoke(Unknown Source)
   at com.jnbridge.jnbcore.JNBDispatcher.objectStaticCall(Unknown Source)
   at com.jnbridge.jnbcore.JNBDispatcher.call(Unknown Source)
   at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.a(Unknown Source)
at com.jnbridge.jnbcore.server.sharedmem.SharedMemRequestHandler.handleRequest(Unknown Source)
<strong>java.lang.<u>UnsupportedClassVersionError</u>: psdi/util/Version : <u>Unsupported major.minor version 51.0</u></strong>
Java RMI Communication Status = Unknown



For additional assistance please email support@datasplice.com and we'd be happy to help!