java.lang.UnsupportedClassVersionError: com/nearinfinity/nodeJava/MyClass : Unsupported major.minor version 51.0

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

,
via GitHub by Athou

You're using an older version of java with classes compiled for java7

,
via Google Groups by Marcus Haebler

Update "latest" to Java 8 on DockerHub.

Solutions on the web

via GitHub by juniorkid
, 1 year ago
com/nearinfinity/nodeJava/MyClass : Unsupported major.minor version 51.0
via GitHub by ptaoussanis
, 2 years ago
com/taoensso/FastByteArrayOutputStream : Unsupported major.minor version 51.0
via GitHub by reigner-yrastorza
, 2 years ago
com/dtolabs/rundeck/RunServer : Unsupported major.minor version 51.0
via Google Groups by Stephan Lahl, 2 years ago
com/thinkaurelius/titan/tinkerpop/gremlin/Console : Unsupported major.minor version 51.0
via ogre3d.org by Unknown author, 2 years ago
com/google/javascript/jscomp/CommandLineRunner : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: com/nearinfinity/nodeJava/MyClass : 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)

Users with the same issue

19 times, 2 weeks ago
Once, 2 weeks ago
5 times, 1 month ago
Once, 2 months ago
Once, 2 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.