Sonarqube 8.9 Supported Java Version _hot_ →

| Java Version | Analysis Support | Notes | | :--- | :--- | :--- | | | ✅ Fully Supported | Most common use case for 8.9 LTA. | | Java 11 | ✅ Fully Supported | Fully supported for both server and analysis. | | Java 13 & 14 | ✅ Supported | Syntactic analysis works, but specific new rules may be limited. | | Java 15 - 16 | ⚠️ Limited | May work, but not officially tested. | | Java 17 | ⚠️ Experimental / Partial | Basic analysis works, but features like switch pattern matching or record serialization may not be fully recognized. | | Java 21+ | ❌ Not Supported | The analyzer will likely crash or ignore modern syntax. |

Because SonarQube 8.9 was finalized before the widespread adoption of Java 17 (LTS), it does not officially support analyzing code that uses Java 16

SonarQube 8.9 can analyze any version of Java source files, regardless of the JVM running the scanner.

Migration to Java 17 is blocked by Sonar Scanner requirements

For those still on version 8.9, note that this version is now considered legacy. For modern features and support for Java 17 and 21, you can download newer versions from the official Sonar website.

Scanners for SonarQube 8.9 require either Java 8 or Java 11 .

If you have landed on this article searching for the "SonarQube 8.9 supported Java version" , you are likely in the middle of an installation, an upgrade from an older LTS, or trying to troubleshoot a startup error. This guide will leave no stone unturned. We will cover the exact Java requirements for the server, the analysis process (scanner), and why these constraints exist.

While SonarQube 8.9 itself runs on Java 11, it does not officially support the analysis of Java 17-specific language features. Users requiring Java 17 analysis or runtime support should upgrade to SonarQube 9.9 LTS or later. Comparison Table: Java Support by Component Supported Java Version Recommendation SonarQube Server Java 11 (Oracle/OpenJDK) Use the latest Critical Patch Update (CPU) SonarScanner Java 8 or Java 11 Migrate to Java 11 to avoid deprecation Analyzed Code All Versions Java 17 features require upgrading to SQ 9.9+

SonarQube 8.9 can analyze source code from any Java version , regardless of the version used to run the server or scanner.

Before diving into version numbers, it is essential to understand that "Java support" in SonarQube refers to two distinct environments:

Shopping cart
Sign in

No account yet?

Filters
0 Compare
0 Wishlist
0 items Cart
Menu