Error "Exception in thread "Main Thread" java.lang.UnsupportedClassVersionError: com/wily/field/dpmon/DataPowerMonitor : unsupported classversion 51.0"

Document ID : KB000005131
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

Starting the Datapower Extension is not successful and results in this error:

[weblogic@localhost /webapps/wily/DataPower3.2/bin]$ ./DatapowerMonitor
Exception in thread "Main Thread" java.lang.UnsupportedClassVersionError: com/wily/field/dpmon/DataPowerMonitor : unsupported classversion 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637)
at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:283)
at java.net.URLClassLoader.access$000(URLClassLoader.java:58)
at java.net.URLClassLoader$1.run(URLClassLoader.java:197)
at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
Could not find the main class: com.wily.field.dpmon.DataPowerMonitor. Program will exit.

Environment:
This was during testing in a 10.2 APM Environment
Cause:

 The customer was running JVM 1.6. However, the Datapower 3.2 Version needs to be run on JVM 1.7 or higher.

Resolution:

Upgrade the JVM to be release 1.7 or higher

Additional Information:

Download the Datapower Extension 3.2