How do I upgrade from 8.9.10 to 10.5

Hello, I have been using SonarQube Enterprise version 8.9.10 (build 61524) and due to the need for Java 21 support by our developers, I am considering upgrading SonarQube to version 10.5 as it has completed the necessary support work for Java 21 scanning tasks. I have some inquiries regarding the upgrade process:

  1. How can I upgrade from version 8.9.10 to 10.5? While I found instructions on upgrading from version 8.9 to 9.9 at Scanner environment, how can I proceed with an upgrade from version 9.9 to 10.5?

2.The most commonly used Java versions in our company are currently 8,11, and17.Will SonarQube’s upgrade to version10 .5 perfectly support these older Java versions? What changes will be required for the Sonar scanner?

3.Currently we use plugins such as PMD and FindBugs, however when scanning code projects using Java21,the following errors occur:

2024-07-17 14:26:47 [INFO] 14:26:46.950 Sensor PmdSensor [pmd]
2024-07-17 14:26:47 [INFO] 14:26:46.951 Execute PMD 6.30.0
2024-07-17 14:26:47 [INFO] 14:26:46.960 Execute PMD 6.30.0 (done) | time=9ms
2024-07-17 14:26:47 [ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin:4.0.0.4121:sonar (default-cli) on project mxc-main-regionalbiz: Unsupported Java version for PMD: 17 -> [Help 1]

How can this issue be resolved and will it be addressed after upgrading to version10 .5?

Best regards.

ad 1) As current release is 10.6 (and therefore 10.5 no longer supported) just go to 10.6.
According to documentation the upgrade path would be 8.9.x → 9.9.y LTA → 10.6

ad 2) Regarding analyzing Java code either build with another version than the scanner is running or where only the Java source needs to conform with a specific version see the documentation.

ad 3) As mentioned above on 2) you can run the scanner with another version of Java than your build. In the past I build code with grade in an Azure DevOps pipeline with JDK 8, but the scanner was running with Java 11 at that time. (We discontinued for other reasons to analyse this legacy project.)