java.lang.UnsupportedClassVersionError

com/android/dx/command/Main : Unsupported major.minor version 52.0


Samebug tips4

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.

If you're using intellij plugin of sonarqube, you might have to set the JAVA_HOME ambient variable manually.

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


Solutions on the web4903

Solution icon of github
via GitHub by ragnraok
, 1 month ago
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by vin223
, 8 months ago
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by zoltan-fedor
, 9 months ago
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by anantshri
, 3 months ago
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of github
via GitHub by jaredsburrows
, 6 months ago
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of github
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of appcelerator
via Appcelerator JIRA by Ewan Harris, 11 months ago
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of stackoverflow
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of stackoverflow
com/android/dx/command/Main : Unsupported major.minor version 52.0

Solution icon of stackoverflow
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 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:803) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) at java.net.URLClassLoader.defineClass(URLClassLoader.java:449) at java.net.URLClassLoader.access$100(URLClassLoader.java:71) at java.net.URLClassLoader$1.run(URLClassLoader.java:361) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:425) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:358) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:482)

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

Samebug visitor profile picture
Unknown user
Once, 9 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 11 months ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
200 more bugmates