java.lang.UnsupportedClassVersionError: my/mboxtestui/MBoxTestUI : 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 Unix & Linux by Michael
, 1 year ago
my/mboxtestui/MBoxTestUI : Unsupported major.minor version 51.0
via Coderanch by Fausto Arinos Barbuto, 1 year ago
MyFirstApp : Unsupported major.minor version 51.0
via Ask Ubuntu by user57445
, 1 year ago
Abc : Unsupported major.minor version 51.0
via Stack Overflow by spy-psycho
, 2 years ago
Test : Unsupported major.minor version 51.0
via Stack Overflow by Suhail Gupta
, 2 years ago
java.lang.UnsupportedClassVersionError: my/mboxtestui/MBoxTestUI : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
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:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Once, 5 months ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
338 more bugmates

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