Getting error installing sonarqube-developer-9.6.1 in in server

You can close this thread as my issue is resolved by adding environment variable

Just confirm if Sonar is not supporting Java 18.