'sonar-scanner.bat' is not recognized

Hello

Trust your all good.

Installed Sonarqube Community Edition Version 9.4 (build 54424) and was able to get the application running on my localhost, however, when I try to run a scan I get this error

‘sonar-scanner.bat’ is not recognized as an internal or external command,
operable program or batch file.

What i have done
I have installed java 11.
I have set the location of the JAVA_HOME variable Environment Variables

I would appreciate any help in resolving this.

Regards

Hey there.

Take a look at documentation like this.

thanks was able to solve the issue thanks

Can you please tell me how the issue got resolved? i have installed sonar-scanner, when i run it manually it’s working but when i integrate it with GITActions for CI it’s throwing an error that “sonar-scanner” is not recognized