java.lang.UnsupportedClassVersionError: (Unsupported major.minor version 50.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 Coderanch by Amir Pourteymour, 1 year ago
(Unsupported major.minor version 50.0)
via coderanch.com by Unknown author, 1 year ago
via coderanch.com by Unknown author, 11 months ago
via coderanch.com by Unknown author, 1 year ago
via Google Groups by John, 1 month ago
javax/xml/parsers/DocumentBuilderFactory (Unsupported major.minor version 48.0)
via wpthm.com by Unknown author, 2 years ago
com/qnx/bbt/nativepackager/BarNativePackager (Unsupported major.minor version 50.0)\n[INFO]
java.lang.UnsupportedClassVersionError: (Unsupported major.minor version 50.0)
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
at java.security.SecureClassLoader.defineClass(SecureClassLoade.java:123)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:251)
at java.net.URLClassLoader.access$100(URLClassLoader.java:55)
at java.net.URLClassLoader$1.run(URLClassLoader.java:194)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
at java.lang.ClassLoader.loadClass(ClassLoader.java:289)

Users with the same issue

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

Write tip

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