SonarQube OnPrem issue on upgrade from 8.9 to 9.9

This is a long shot, but can you try adjusting the SONAR_JAVA_HOME environment variable and make sure it points to your Java 17 installation?