If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

Update "latest" to Java 8 on DockerHub.


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


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.

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

  • UnsupportedClassVersionError jdk 1.8
    via Stack Overflow by Lorna Costelloe
  • Weird error when trying to run tests.
    via by Brandon Sara,
  • CJ's DW
    via by Unknown author,
  • Is TestFX compatible with Java 7?
    via Stack Overflow by mre
  • Junit testing
    via by nhlanhla mazibuko,
  • Junit test on servers
    via by sankar dunga,
  • little help with start ejb testing
    via by Marko Debac,
    • java.lang.UnsupportedClassVersionError: io/pivotal/ticket/RuleControllerTest : Unsupported major.minor version 52.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass( at at at$100( at$ at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClass( at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.loadClasses( at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests( at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests( at at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(

    Users with the same issue

    Unknown visitor1 times, last one,
    2 times, last one,
    5 times, last one,
    4 times, last one,
    Unknown visitor1 times, last one,
    193 more bugmates