Could not find or load main class org.sonar. application.App

I have installed java 11 and using sonarqube 8.9.

While running the command startsonar throwing an error.

Could not find or load main class org.sonar. application.App

I tried will all the versions like 10, 9.9, 9.6 as well. Throwing same error
Could someone help on this issue.

Hi,

Welcome to the community!

You should be focused on a current version, so 9.9.1 or 10.0, especially since you seem to be just getting started with SonarQube.

Regarding your problem, I believe this is a pathing issue. You’ve cded into the windows-x86-64 directory but the docshave you starting it from outside the SonarQube installation directory. Have you tried that?

 
Ann