Jdk 21 and 23 is not supporting SonarQube and the current jdk 17 is under vulnerability

Our current JDK 17 is under vulnerability hence we tried to upgrade to JDK 21 and JDK 23 is not supporting SonarQube and the current JDK17 is under vulnerability which is only supporting SonarQube.
Could you please help me with the updated compatible version of JDK with SonarQube?
We need your immediate help here.

Hi,

Have you checked for a bug-fix version of Java 17?

 
Ann

We have 21 bug fixes option for java 17. Which one would be feasible for us to avoid vulnerabilities?

Hi,

Always go for the most recent.

 
HTH,
Ann

Make sure u have SONAR_JAVA_HOME path is update

rebooted teh machine

and Start the service using command prompt as admin and run SonarService.bat start

Rnning service trhough Windows UI is failing due to some reason for me as well, but it works when I ran it using sonarService.bat