Can't start using SonarQube

I am new in using sonarqube, I downloaded the ZIP File and tried to download it through CMD by InstallNTService.bat and when I used StartSonar.bat an error came

wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM…
jvm 1 | Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
jvm 1 | Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
jvm 1 |
jvm 1 |
jvm 1 | WrapperSimpleApp: Encountered an error running main: java.lang.IllegalStateException: SonarQube requires Java 11 to run
jvm 1 | java.lang.IllegalStateException: SonarQube requires Java 11 to run
jvm 1 | at com.google.common.base.Preconditions.checkState(Preconditions.java:508)
jvm 1 | at org.sonar.application.App.checkJavaVersion(App.java:92)
jvm 1 | at org.sonar.application.App.start(App.java:57)
jvm 1 | at org.sonar.application.App.main(App.java:96)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
jvm 1 | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
jvm 1 | at java.lang.reflect.Method.invoke(Unknown Source)
jvm 1 | at org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:240)
jvm 1 | at java.lang.Thread.run(Unknown Source)
wrapper | <-- Wrapper Stopped

What should I do?

Did you install Java 11 or newer? Is it in the path or is the SonarQube Installation referering to it?

When it starts next issue might be SQL Server reference. See my open issue for a workaround

Java 11 means JDK version 11. For example, you installed JDK 11 in the folder C:\Program Files\Java\jdk-11.0.6, open the file \conf\wrapper.conf and change the value for ‘wrapper.java.command’ to ‘C:\Program Files\Java\jdk-11.0.6\bin\java’. This will resolve the require-java-11 issue.