Sonar Upgraded to 8.9.4 for JDK 8 scanner

We are using sonar 6.7.3 and plan to upgrade to sonar-9.2.4, for which JDK 11 is required. However, all our projects are on JDK 8 and there are some hurdles to making them compatible with jdk11. Hence we choose sonar-8.9.7 off-late, where the scanner can run on JDK 8, along with sonar-maven-plugin: 3.2

Post upgrade to sonar-8.9.7, when we ran a couple of analyses, we saw the below error. Could you please advise, how this can be fixed?

[ERROR] Failed to execute goal org.sonarsource.scanner.maven:sonar-maven-plugin: (default-cli) on project archiver: Unable to load component class org/sonar/java/checks/methods/AbstractMethodDetection has been compiled by a more recent version of the Java Runtime (class file version 55.0), this version of the Java Runtime only recognizes class file versions up to 52.0


means the Sonarqube analysis has to run with Java 11 (class version 55.0), it’s a must.
No problem if your projects are still on Java 8, only the analysis step itself needs Java 11.
You should reconsider your upgrade path, as only the LTS and latest Sonarqube version
are supported - right now this is Sonarqube 9.9.0
It won’t change anything, with Sonarqube 9.9.0 the analysis might run with Java 11 or Java 17.