java.lang.UnsupportedClassVersionError

tip

Update "latest" to Java 8 on DockerHub.

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

You're using an older version of java with classes compiled for java7

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.

  • GitHub comment 2768#254773500
    via GitHub by lilianmoraru
    ,
  • Stops at Starting RTSP handshake
    via GitHub by callesg
    ,
  • GitHub comment 31#42768980
    via GitHub by callesg
    ,
  • GitHub comment 10#104297396
    via GitHub by brihh
    ,
    • java.lang.UnsupportedClassVersionError: com/thoughtworks/go/server/util/GoLauncher : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:648) at com.simontuffs.onejar.JarClassLoader.defineClass(JarClassLoader.java:693) at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:599) at java.lang.ClassLoader.loadClass(ClassLoader.java:325) at java.lang.ClassLoader.loadClass(ClassLoader.java:270) at com.simontuffs.onejar.Boot.run(Boot.java:300) at com.simontuffs.onejar.Boot.main(Boot.java:159)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    193 more bugmates