SonarQube upgradation 7.x LTS to 8.x

Hello Team,
We are running on SonarQube 7.9.3 LTS version, planning for upgrading to latest version. But 8.x is non-LTS version. Can we upgrade directly to 8.6 Latest version ? or do we need to migrate any intermediate version before that. There is another patch release 7.9.4 LTS also, is it necessary to update to 7.9.4 LTS before upgradation ?
Another question is we installed already Adopt Open JDK 11 in the server side, but as per sonar recommendation it will support only oracle JRE 11 & Open JDK 11. Will it support Adopt Open JDK 11 or is it necessary to migrate open JDK 11.

Thanks & Regards
Revathi

Welcome :slight_smile:

you go straight from Sonarqube 7.9.3 to 8.6
Even if Adopt OpenJDK ain’t supported and you need it to be the default java version on your machine,
you may configure Sonarqube to use it’s own Java.
see https://docs.sonarqube.org/latest/setup/install-server/ ‘Adjusting the java Installation’

To change the Java JVM used by SonarQube, edit $SONARQUBE-HOME/conf/wrapper.conf and update the following line:

wrapper.java.command=/path/to/my/jdk/bin/java

with Linux use /etc/systemd/system/sonarqube.service or /etc/init.d/sonar
see Operating the server

Gilbert

1 Like

Hello, Thanks for the response,

But here we need to know, will it support Adopt open JDK or not ?

Another one more question is we have seen Postgresql 9.x to 12 will be support for sonarqube. We are on 9.6.18 . Is there any way to check SonarQube version compatibility check with PostgreSQL latest versions ? We are planning to update it, in support platform it is there as supported like general recommendation, but some schema might be change with latest versions of Database. So can we check compatibility ?

please suggest on this.