Hi ,
We are planning to upgrade sonarqube from 9.9.9 to sonarqube 2025.1.0 .We have gone through the release notes and the changes and we found below changes which made us in confusion:
Jira as well as mentioned here that SonarQube Server can now run in a Java 21 environment.
Jira in which they have mentioned to Update to the latest available JRE 17 to avoid security issues.
So during migration from 9.9.9 to 2025.1.0 , Java 21 is compulsory for Sonarqube server or optional ?? or we can continue with Java 17 ?
Do not upgrade to the 0 version. Upgrade directly to the latest patch, that contains several important bug and security fixes. In this case, 2025.1.4. As you said in another thread, you are using docker, so use the LTA tag:
As per the related JIRA, the JRE upgrade to version 17.0.13+11 has been handled by the SonarSource team as part of the SonarQube 2025.1.x releases.
Java 21 is optional for running the SonarQube server, but I believe it’s already bundled if we use either the 2025-lta-enterprise or 2025.1-enterprise image as the base image in our Dockerfile.