java.lang.UnsupportedClassVersionError: org/glassfish/admin/cli/AsadminMain : Unsupported major.minor version 51.0

Java.net JIRA | ajeh | 3 years ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to poroszd . Or join the community to write better ones.
  1. 0
    samebug tip
    Update "latest" to Java 8 on DockerHub.
    via Google Groups by Marcus Haebler
  2. 0
    samebug tip
    You're using an older version of java with classes compiled for java7
    via GitHub by Athou
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Could not find the main class: org.glassfish.admin.cli.AsadminMain

    Stack Overflow | 3 years ago | user3127896
    java.lang.UnsupportedClassVersionError: org/glassfish/admin/cli/AsadminMain : Unsupported major.minor version 51.0
  5. 0

    Vagrant Instructions Failing

    GitHub | 1 year ago | codeaudit
    java.lang.UnsupportedClassVersionError: org/glassfish/admin/cli/AsadminMain : Unsupported major.minor version 51.0

  1. chenjunjun 1 times, last 2 months ago
  2. Mark 1 times, last 2 months ago
  3. harshg 4 times, last 5 months ago
  4. muffinmannen 1 times, last 8 months ago
  5. bpbhat77 1 times, last 8 months ago
1 more registered users
58 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.UnsupportedClassVersionError

    org/glassfish/admin/cli/AsadminMain : Unsupported major.minor version 51.0

    at java.lang.ClassLoader.defineClass1()
  2. Java RT
    ClassLoader.loadClass
    1. java.lang.ClassLoader.defineClass1(Native Method)
    2. java.lang.ClassLoader.defineClass(ClassLoader.java:634)
    3. java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
    4. java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
    5. java.net.URLClassLoader.access$000(URLClassLoader.java:73)
    6. java.net.URLClassLoader$1.run(URLClassLoader.java:212)
    7. java.security.AccessController.doPrivileged(Native Method)
    8. java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    9. java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    10. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    11. java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    11 frames