Install Sonarqube

I am trying to install sonarqube on my local pc, but after running StartSonar.bat, I get this :

Starting SonarQube...
2024.10.07 13:08:36 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\SonarQube\sonarqube-10.7.0.96327\temp
2024.10.07 13:08:36 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:53752]
2024.10.07 13:08:37 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\SonarQube\sonarqube-10.7.0.96327\elasticsearch]: C:\Program Files\Java\jdk-17\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=C:\SonarQube\sonarqube-10.7.0.96327\elasticsearch -Des.path.conf=C:\SonarQube\sonarqube-10.7.0.96327\temp\conf\es -Des.distribution.type=tar -cp C:\SonarQube\sonarqube-10.7.0.96327\elasticsearch\lib\*;C:\SonarQube\sonarqube-10.7.0.96327\elasticsearch\lib\cli-launcher\* org.elasticsearch.launcher.CliToolLauncher
2024.10.07 13:08:37 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
ERROR: Elasticsearch did not exit normally - check the logs at C:\SonarQube\sonarqube-10.7.0.96327\logs\sonarqube.log

ERROR: Elasticsearch died while starting up, with exit code 1
2024.10.07 13:08:42 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 1
2024.10.07 13:08:42 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2024.10.07 13:08:42 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped

Did you check the logs as the logs told you to?