.class file code scanning

version- sonarqube-
want to achieve scan results for .class file locally
downloaded sonar scanner sonar-scanner- put the .class file path in sonar-scanner.properties file and run sonar-scanner.bat command from the cmd.

Hey there

.class files are compiled java files – while SonarQube supports scanning source code only.

Thanks for the information. Please guide me how i can get scan result for source code (.java) files.
i have jdk 11 and sonarqube is running in locally.