Receive a java.lang.UnsupportedClassVersionError when sending scripts using an OSS client
Notification example
This error occurs when you install Oracle after installing Java. Verify that the right Java version, as described in To determine the Java version, is in the path. The following error message is an example of the notification that your receive when you send script to the NFM-P via an OSS client:
Exception in thread "main" java.lang.UnsupportedClassVersionError: OSS Client (Unsupported major.minor version 48.0) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:495) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:110) at java.net.URLClassLoader.defineClass(URLClassLoader.java:251) at java.net.URLClassLoader.access$1(URLClassLoader.java:217) at java.net.URLClassLoader$1.run(URLClassLoader.java:198) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:192) at java.lang.ClassLoader.loadClass(ClassLoader.java:300) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:290) at java.lang.ClassLoader.loadClass(ClassLoader.java:256) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316) |
© 2024 Nokia. Nokia Confidential Information
Use subject to agreed restrictions on disclosure and use.