.class file code scanning

version- sonarqube-9.0.1.46107
want to achieve scan results for .class file locally
downloaded sonar scanner sonar-scanner-4.6.2.2472-windows. 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.