java.lang.UnsupportedClassVersionError: day1/example/MyFirstJava : 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

Solutions on the web

via Coderanch by akshay naidu, 1 year ago
day1/example/MyFirstJava : Unsupported major.minor version 51.0
via Coderanch by akshay naidu, 1 year ago
day1/example/MyFirstJava : Unsupported major.minor version 51.0
via GitHub by bikot1205
, 1 year ago
example/WxPubOAuthExample : Unsupported major.minor version 51.0
via netbeans.org by Unknown author, 2 years ago
NewJFrame : Unsupported major.minor version 51.0
via linuxquestions.org by Unknown author, 2 years ago
myfirstjavaprog : Unsupported major.minor version 51.0
via Stack Overflow by Yandroide
, 2 years ago
sterileProc/S cheduleApp : Unsupported major.minor version 51.0
java.lang.UnsupportedClassVersionError: day1/example/MyFirstJava : Unsupported major.minor version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$000(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)

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.