Issue with SonarQube Quality Gate with Open JDK 11 and SonarQube 6.7.3

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension)

    • SonarQube Version: 6.7.3
    • Scanner: sonar-scanner-cli-
    • SCM: GIT
  • how is SonarQube deployed: zip, Docker, Helm

  • what are you trying to achieve
    SonarQube Quality Gate data for Open JDK 11

  • what have you tried so far to achieve this
    Configured below Project’s specific Sonar parameter:

    • JDK Home Path whose value is passed via “” parameter with path of JDK Home.
    • JDK Version whose value is passed via “ source” parameter with value 11 or 1.11.

Please find below details for reference:

  • Error during SonarQube build:

    WARN: Invalid java version (got “11”). The version will be ignored. Accepted formats are “1.X”, or simply “X” (for instance: “1.5” or “5”, “1.6” or “6”, “1.7” or “7”, etc.)

    ERROR: Unable to create symbol table for :
    java.lang.IllegalArgumentException: null
    at org.objectweb.asm.ClassReader.(

  • SonarQube Configuration

    ‘Dsonar.sources=%RELEASE_WORKSPACE%/%GIT_REPO_PATH%/src/main/java -Dsonar.projectName=%PROJECT_NAME% -Dsonar.projectVersion=%REPORT_VERSION% -Dsonar.projectKey=%PROJECT_KEY% -Dsonar.projectBaseDir=%RELEASE_WORKSPACE%/%GIT_REPO_PATH% -Dsonar.coverage.exclusions=***/src/test/** -Dsonar.junit.reportPaths=%RELEASE_WORKSPACE%/%GIT_REPO_PATH%/target/surefire-reports -Dsonar.tests=%RELEASE_WORKSPACE%/%GIT_REPO_PATH%/src/test/java’


Your version is past EOL. You should upgrade to either the latest version or the current LTS at your earliest convenience. Your upgrade path is:

6.7.3 → 7.9.6 → 8.9.10 → 9.9

You may find the Upgrade Guide and the LTS-to-LTS Upgrade Notes for 7.9 to 8.9, as well as the LTS to LTS release upgrade notes for 8.9 to 9.9 helpful. If you have questions about upgrading, feel free to open a new thread for that here.