Receiving version error using NXShell on 2.0 M5
-
Hello again
I'm currently attempting to use NXShell and am receiving the error below. I'm using nxshell-2.0-M5.jar alongside a 2.0-M5 installation. Is there a fix for this?
[dev1]$ java -Dnetxms.server=127.0.0.1 -Dnetxms.login=admin -jar nxshell-2.0-M5.jar Exception in thread "main" java.lang.UnsupportedClassVersionError: org/python/core/PyObject : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:643) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:277) at java.net.URLClassLoader.access$000(URLClassLoader.java:73) at java.net.URLClassLoader$1.run(URLClassLoader.java:212) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:205) at java.lang.ClassLoader.loadClass(ClassLoader.java:323) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294) at java.lang.ClassLoader.loadClass(ClassLoader.java:268) Could not find the main class: org.netxms.Shell. Program will exit. [dev1]$Thanks in advance!
-
Upgrade Java to version 7 at least. I, however, highly recommend to use latest Java8 because of numerous security issues in older java versions.
-
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login