java.lang.UnsupportedClassVersionError

tip

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.

tip

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

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

  • jar file exception
    via by 843804,
  • Compatible?
    via by Dinesh,
    • java.lang.UnsupportedClassVersionError: (WMSMS) bad major version at offset=6at java.lang.ClassLoader.defineClassImpl(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.findClassImpl(Unknown Source) at java.net.URLClassLoader$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Unknown Source) at java.net.URLClassLoader.findClass(Unknown Source) at com.ibm.oti.vm.URLSystemClassLoader.findClass(Unknown Source)

    Users with the same issue

    andyglick
    1 times, last one,
    rafael
    2 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    33 more bugmates