Where to Find OpenJDK 17 for SonarQube?

The new LTS version 9.9 of SonarQube comes with a lot of changes. One of that changes is that OpenJDK 11 is no longer supported to run the SonarQube Server. Unfortunately, I could not find an OpenJDK 17 on openjdk.org. So, where can we find that specific version without licensing it from Oracle?

As it turns out, we can get OpenJDK 17 from Microsoft at https://learn.microsoft.com/en-us/java/openjdk/download. The installation can be a simple as downloading the *.zip file and extracting it to a suitable location. After that, we need to update the paths for JAVA_EXE in StartSonar.bat and SonarService.bat to that new location.

SonarQube 9.9 should now start with the Microsoft version of OpenJDK 17:

The Administration section of SonarQube shows that we run the OpenJDK 17 from Microsoft.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.