Facing error on Sonar build

i am facing below error on sonarbuild. Can i have solution for this error.

I have installed JDK 17 and environment path setted as well

Error: Could not find or load main class org.sonarsource.scanner.cli.Main
Caused by: java.lang.ClassNotFoundException: org.sonarsource.scanner.cli.Main

Hey there.

What environment are you running the scanner in (locally, as part of a CI build)? What command are you using to run the scanner?

Hi colin, im running in locally…facing same issue can you help

im using

sonar-scanner.bat -D"sonar.projectKey=_parent" -D"sonar.sources=." -D"sonar.host.url=url" -D"sonar.login

Hey @Akash_KL

Instead of bumping a 6-month old thread, I encourage you to create a new thread with all the relevant details from the topic template (versions, logs, etc.)

I will close this thread.