java.lang.UnsupportedClassVersionError

com/android/dx/command/Main : Unsupported major.minor version 52.0 1> java.lang.UnsupportedClassVersionError com/android/dx/command/Main : Unsupported major.minor version 52.0

Samebug tips4

Update "latest" to Java 8 on DockerHub.

This might be caused by and outdated version of Java, SonarQube now uses Java 8 as default. You might upgrade java or use an older version of SonarQube.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web4824

  • com/android/dx/command/Main : Unsupported major.minor version 52.0 1> java.lang.UnsupportedClassVersionError com/android/dx/command/Main : Unsupported major.minor version 52.0
  • via Stack Overflow by Laire
    , 9 months ago
    com/android/dx/command/Main : Unsupported major.minor version 52.0 1> java.lang.UnsupportedClassVersionError com/android/dx/command/Main : Unsupported major.minor version 52.0
  • com/android/dx/command/Main : Unsupported major.minor version 52.0 1> java.lang.UnsupportedClassVersionError com/android/dx/command/Main : Unsupported major.minor version 52.0
  • Stack trace

    • java.lang.UnsupportedClassVersionError: com/android/dx/command/Main : Unsupported major.minor version 52.0 1> java.lang.UnsupportedClassVersionError com/android/dx/command/Main : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.lang.ClassLoader.defineClass(ClassLoader.java:800) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Once, 4 days ago
    6 times, 4 weeks ago
    Unknown user
    Once, 1 month ago
    Once, 1 month ago
    Unknown user
    Once, 3 months ago
    193 more bugmates