Elastisearch Error when starting SonarQube Community on Windows

Version: SonarQube Community
Deployed: Zip
Trying To: Run StartSonar.bat
Have Tried:

  • Downloaded the zstd.dll file and placed in C:\SonarQubeCommunity\elasticsearch\lib\platform\win32-x86 as well as several other directories.

es.log indicates:

2024.10.16 08:44:30 WARN  es[][o.e.n.NativeAccess] Unable to load native provider. Native methods will be disabled.
java.lang.UnsatisfiedLinkError: Unable to load library 'zstd':
The specified module could not be found.

The specified module could not be found.

The specified module could not be found.

Native library (win32-x86/zstd.dll) not found in resource path ()
	at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:307) ~[jna-5.12.1.jar:?]
	at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:467) ~[jna-5.12.1.jar:?]
	at com.sun.jna.Native.register(Native.java:1774) ~[jna-5.12.1.jar:?]
	at org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.<init>(JnaZstdLibrary.java:32) ~[?:?]
	at org.elasticsearch.nativeaccess.lib.NativeLibraryProvider.getLibrary(NativeLibraryProvider.java:58) ~[elasticsearch-native-8.14.1.jar:?]
	at org.elasticsearch.nativeaccess.AbstractNativeAccess.<init>(AbstractNativeAccess.java:28) ~[elasticsearch-native-8.14.1.jar:?]
	at org.elasticsearch.nativeaccess.WindowsNativeAccess.<init>(WindowsNativeAccess.java:18) ~[elasticsearch-native-8.14.1.jar:?]
	at org.elasticsearch.nativeaccess.NativeAccessHolder.<clinit>(NativeAccessHolder.java:32) ~[elasticsearch-native-8.14.1.jar:?]
	at org.elasticsearch.nativeaccess.NativeAccess.instance(NativeAccess.java:22) ~[elasticsearch-native-8.14.1.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:285) ~[elasticsearch-8.14.1.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169) ~[elasticsearch-8.14.1.jar:?]
	at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74) ~[elasticsearch-8.14.1.jar:?]
	Suppressed: java.lang.UnsatisfiedLinkError: The specified module could not be found.

		at com.sun.jna.Native.open(Native Method) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:197) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:467) ~[jna-5.12.1.jar:?]
		at com.sun.jna.Native.register(Native.java:1774) ~[jna-5.12.1.jar:?]
		at org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.<init>(JnaZstdLibrary.java:32) ~[?:?]
		at org.elasticsearch.nativeaccess.lib.NativeLibraryProvider.getLibrary(NativeLibraryProvider.java:58) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.AbstractNativeAccess.<init>(AbstractNativeAccess.java:28) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.WindowsNativeAccess.<init>(WindowsNativeAccess.java:18) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccessHolder.<clinit>(NativeAccessHolder.java:32) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccess.instance(NativeAccess.java:22) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:285) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74) ~[elasticsearch-8.14.1.jar:?]
	Suppressed: java.lang.UnsatisfiedLinkError: The specified module could not be found.

		at com.sun.jna.Native.open(Native Method) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:210) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:467) ~[jna-5.12.1.jar:?]
		at com.sun.jna.Native.register(Native.java:1774) ~[jna-5.12.1.jar:?]
		at org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.<init>(JnaZstdLibrary.java:32) ~[?:?]
		at org.elasticsearch.nativeaccess.lib.NativeLibraryProvider.getLibrary(NativeLibraryProvider.java:58) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.AbstractNativeAccess.<init>(AbstractNativeAccess.java:28) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.WindowsNativeAccess.<init>(WindowsNativeAccess.java:18) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccessHolder.<clinit>(NativeAccessHolder.java:32) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccess.instance(NativeAccess.java:22) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:285) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74) ~[elasticsearch-8.14.1.jar:?]
	Suppressed: java.lang.UnsatisfiedLinkError: The specified module could not be found.

		at com.sun.jna.Native.open(Native Method) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:270) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:467) ~[jna-5.12.1.jar:?]
		at com.sun.jna.Native.register(Native.java:1774) ~[jna-5.12.1.jar:?]
		at org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.<init>(JnaZstdLibrary.java:32) ~[?:?]
		at org.elasticsearch.nativeaccess.lib.NativeLibraryProvider.getLibrary(NativeLibraryProvider.java:58) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.AbstractNativeAccess.<init>(AbstractNativeAccess.java:28) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.WindowsNativeAccess.<init>(WindowsNativeAccess.java:18) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccessHolder.<clinit>(NativeAccessHolder.java:32) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccess.instance(NativeAccess.java:22) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:285) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74) ~[elasticsearch-8.14.1.jar:?]
	Suppressed: java.io.IOException: Native library (win32-x86/zstd.dll) not found in resource path ()
		at com.sun.jna.Native.extractFromResourcePath(Native.java:1145) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.loadLibrary(NativeLibrary.java:281) ~[jna-5.12.1.jar:?]
		at com.sun.jna.NativeLibrary.getInstance(NativeLibrary.java:467) ~[jna-5.12.1.jar:?]
		at com.sun.jna.Native.register(Native.java:1774) ~[jna-5.12.1.jar:?]
		at org.elasticsearch.nativeaccess.jna.JnaZstdLibrary.<init>(JnaZstdLibrary.java:32) ~[?:?]
		at org.elasticsearch.nativeaccess.lib.NativeLibraryProvider.getLibrary(NativeLibraryProvider.java:58) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.AbstractNativeAccess.<init>(AbstractNativeAccess.java:28) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.WindowsNativeAccess.<init>(WindowsNativeAccess.java:18) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccessHolder.<clinit>(NativeAccessHolder.java:32) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.nativeaccess.NativeAccess.instance(NativeAccess.java:22) ~[elasticsearch-native-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initializeNatives(Elasticsearch.java:285) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.initPhase2(Elasticsearch.java:169) ~[elasticsearch-8.14.1.jar:?]
		at org.elasticsearch.bootstrap.Elasticsearch.main(Elasticsearch.java:74) ~[elasticsearch-8.14.1.jar:?]
2024.10.16 08:44:30 WARN  es[][o.e.n.NativeAccess] Cannot check if running as root because native access is not available
2024.10.16 08:44:30 INFO  es[][o.e.n.Node] version[8.14.1], pid[32904], build[tar/93a57a1a76f556d8aee6a90d1a95b06187501310/2024-06-10T23:35:17.114581191Z], OS[Windows 11/10.0/x86], JVM[Eclipse Adoptium/OpenJDK Client VM/17.0.12/17.0.12+7]
2024.10.16 08:44:30 INFO  es[][o.e.n.Node] JVM home [C:\Program Files (x86)\Eclipse Adoptium\jdk-17.0.12.7-hotspot], using bundled JDK [false]
2024.10.16 08:44:30 INFO  es[][o.e.n.Node] JVM arguments [-Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -Djava.security.manager=allow, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=SPI,COMPAT, --add-opens=java.base/java.io=org.elasticsearch.preallocate, --add-opens=org.apache.lucene.core/org.apache.lucene.store=org.elasticsearch.vec, -XX:ReplayDataFile=logs/replay_pid%p.log, -Djava.library.path=C:\SonarQubeCommunity\elasticsearch\lib\platform\windows-unsupported_arch[x86];C:\Program Files (x86)\Eclipse Adoptium\jdk-17.0.12.7-hotspot\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Eclipse Adoptium\jdk-17.0.12.7-hotspot;C:\Program Files\FireDaemon OpenSSL 3\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files\IDM Computer Solutions\UltraCompare;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\nodejs\;C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\bin;C:\Users\charl\AppData\Local\Microsoft\WindowsApps;C:\Users\charl\.dotnet\tools;C:\Users\charl\AppData\Local\Programs\Fiddler;C:\Users\charl\.dotnet\tools;C:\Users\charl\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\charl\AppData\Roaming\npm;C:\Users\charl\AppData\Local\GitHubDesktop\bin;C:\Users\charl\AppData\Local\Microsoft\WinGet\Links;., -Djna.library.path=C:\SonarQubeCommunity\elasticsearch\lib\platform\windows-unsupported_arch[x86];C:\Program Files (x86)\Eclipse Adoptium\jdk-17.0.12.7-hotspot\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Eclipse Adoptium\jdk-17.0.12.7-hotspot;C:\Program Files\FireDaemon OpenSSL 3\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Azure Data Studio\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\Tools\Binn\;C:\Program Files\Microsoft SQL Server\160\DTS\Binn\;C:\Program Files\Microsoft SQL Server\150\Tools\Binn\;C:\Program Files\IDM Computer Solutions\UltraEdit;C:\Program Files\IDM Computer Solutions\UltraCompare;C:\Program Files\Git\cmd;C:\Program Files (x86)\Microsoft SQL Server\110\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\120\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\130\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\140\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\150\DTS\Binn\;C:\Program Files\nodejs\;C:\Program Files\Eclipse Adoptium\jdk-21.0.2.13-hotspot\bin;C:\Users\charl\AppData\Local\Microsoft\WindowsApps;C:\Users\charl\.dotnet\tools;C:\Users\charl\AppData\Local\Programs\Fiddler;C:\Users\charl\.dotnet\tools;C:\Users\charl\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\charl\AppData\Roaming\npm;C:\Users\charl\AppData\Local\GitHubDesktop\bin;C:\Users\charl\AppData\Local\Microsoft\WinGet\Links;., -Des.distribution.type=tar, -XX:+UseG1GC, -Djava.io.tmpdir=C:\SonarQubeCommunity\temp, -XX:ErrorFile=C:\SonarQubeCommunity\logs\es_hs_err_pid%p.log, -Xlog:disable, -Des.networkaddress.cache.ttl=60, -Des.networkaddress.cache.negative.ttl=10, -XX:+AlwaysPreTouch, -Xss1m, -Djava.awt.headless=true, -Dfile.encoding=UTF-8, -Djna.nosys=true, -Djna.tmpdir=C:\SonarQubeCommunity\temp, -XX:-OmitStackTraceInFastThrow, -Dio.netty.noUnsafe=true, -Dio.netty.noKeySetOptimization=true, -Dio.netty.recycler.maxCapacityPerThread=0, -Dio.netty.allocator.numDirectArenas=0, -Dlog4j.shutdownHookEnabled=false, -Dlog4j2.disable.jmx=true, -Dlog4j2.formatMsgNoLookups=true, -Djava.locale.providers=COMPAT, -Des.enforce.bootstrap.checks=true, -Xmx512m, -Xms512m, -XX:MaxDirectMemorySize=256m, -XX:+HeapDumpOnOutOfMemoryError, -XX:G1HeapRegionSize=4m, -XX:InitiatingHeapOccupancyPercent=30, -XX:G1ReservePercent=15, --module-path=C:\SonarQubeCommunity\elasticsearch\lib, --add-modules=jdk.net, --add-modules=ALL-MODULE-PATH, -Djdk.module.main=org.elasticsearch.server]
2024.10.16 08:44:30 INFO  es[][o.e.n.Node] Default Locale [en_US]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [rest-root]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [reindex]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-core]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-redact]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-security]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-apm-data]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [lang-painless]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [old-lucene-versions]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [parent-join]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [counted-keyword]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [analysis-common]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [x-pack-inference]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [health-shards-availability]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [transport-netty4]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [aggregations]
2024.10.16 08:44:31 INFO  es[][o.e.p.PluginsService] loaded module [apm]
2024.10.16 08:44:31 INFO  es[][o.e.e.NodeEnvironment] using [1] data paths, mounts [[Windows (C:)]], net usable_space [15.8gb], net total_space [236.2gb], types [NTFS]
2024.10.16 08:44:31 INFO  es[][o.e.e.NodeEnvironment] heap size [512mb], compressed ordinary object pointers [unknown]
2024.10.16 08:44:31 INFO  es[][o.e.n.Node] node name [sonarqube], node ID [gD9O6Kn-RrauNdxMQ2_RFw], cluster name [sonarqube], roles [ingest, data_cold, data, remote_cluster_client, master, data_warm, data_content, transform, data_hot, ml, data_frozen]
2024.10.16 08:44:33 INFO  es[][o.e.f.FeatureService] Registered local node features [desired_node.version_deprecated, features_supported, health.extended_repository_indicator, knn_retriever_supported, license-trial-independent-version, retrievers_supported, standard_retriever_supported, usage.data_tiers.precalculate_stats]
2024.10.16 08:44:33 INFO  es[][o.e.x.s.Security] Security is disabled
2024.10.16 08:44:33 INFO  es[][o.e.x.a.APMPlugin] APM ingest plugin is disabled
2024.10.16 08:44:33 INFO  es[][o.e.t.a.APM] Sending apm metrics is disabled
2024.10.16 08:44:33 INFO  es[][o.e.t.a.APM] Sending apm tracing is disabled
2024.10.16 08:44:33 INFO  es[][o.e.t.n.NettyAllocator] creating NettyAllocator with the following configs: [name=unpooled, suggested_max_allocation_size=1mb, factors={es.unsafe.use_unpooled_allocator=null, g1gc_enabled=true, g1gc_region_size=4mb, heap_size=512mb}]
2024.10.16 08:44:33 INFO  es[][o.e.i.r.RecoverySettings] using rate limit [40mb] with [default=40mb, read=0b, write=0b, max=0b]
2024.10.16 08:44:33 INFO  es[][o.e.d.DiscoveryModule] using discovery type [single-node] and seed hosts providers [settings]
2024.10.16 08:44:34 INFO  es[][o.e.n.Node] initialized
2024.10.16 08:44:34 INFO  es[][o.e.n.Node] starting ...
2024.10.16 08:44:34 INFO  es[][o.e.t.TransportService] publish_address {127.0.0.1:53918}, bound_addresses {127.0.0.1:53918}
2024.10.16 08:44:34 INFO  es[][o.e.b.BootstrapChecks] explicitly enforcing bootstrap checks
2024.10.16 08:44:34 ERROR es[][o.e.b.Elasticsearch] node validation exception
[1] bootstrap checks failed. You must address the points described in the following [1] lines before starting Elasticsearch. For more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.14/bootstrap-checks.html]
bootstrap check failure [1] of [1]: JVM is using the client VM [OpenJDK Client VM] but should be using a server VM for the best performance; for more information see [https://www.elastic.co/guide/en/elasticsearch/reference/8.14/_client_jvm_check.html]
2024.10.16 08:44:34 INFO  es[][o.e.n.Node] stopping ...
2024.10.16 08:44:34 INFO  es[][o.e.n.Node] stopped
2024.10.16 08:44:34 INFO  es[][o.e.n.Node] closing ...
2024.10.16 08:44:34 INFO  es[][o.e.n.Node] closed

sonar.log indicates:

2024.10.16 08:44:26 INFO  app[][o.s.a.AppFileSystem] Cleaning or creating temp directory C:\SonarQubeCommunity\temp
2024.10.16 08:44:26 INFO  app[][o.s.a.es.EsSettings] Elasticsearch listening on [HTTP: 127.0.0.1:9001, TCP: 127.0.0.1:53918]
2024.10.16 08:44:27 INFO  app[][o.s.a.ProcessLauncherImpl] Launch process[ELASTICSEARCH] from [C:\SonarQubeCommunity\elasticsearch]: C:\Program Files (x86)\Eclipse Adoptium\jdk-17.0.12.7-hotspot\bin\java -Xms4m -Xmx64m -XX:+UseSerialGC -Dcli.name=server -Dcli.script=./bin/elasticsearch -Dcli.libs=lib/tools/server-cli -Des.path.home=C:\SonarQubeCommunity\elasticsearch -Des.path.conf=C:\SonarQubeCommunity\temp\conf\es -Des.distribution.type=tar -cp C:\SonarQubeCommunity\elasticsearch\lib\*;C:\SonarQubeCommunity\elasticsearch\lib\cli-launcher\* org.elasticsearch.launcher.CliToolLauncher
2024.10.16 08:44:27 INFO  app[][o.s.a.SchedulerImpl] Waiting for Elasticsearch to be up and running
2024.10.16 08:44:34 WARN  app[][o.s.a.p.AbstractManagedProcess] Process exited with exit value [ElasticSearch]: 78
2024.10.16 08:44:34 INFO  app[][o.s.a.SchedulerImpl] Process[ElasticSearch] is stopped
2024.10.16 08:44:34 INFO  app[][o.s.a.SchedulerImpl] SonarQube is stopped
1 Like

Hi,

Welcome to the community!

What version of SonarQube are we talking about?

 
Thx,
Ann

Hello,

I have the same issue, I’ve tried on 10.4.1.88267 and 10.7.0.96327.
Windows 10 with java 17 64-bit.

I’ve followed the instructions from here: Medium, but seem incomplete, missing the setup database step.

Right now I’ll try to follow the official instructions.

Hi @Razvan_Surubariu,

Welcome to the community!

Do you work with the OP?

 
Thx,
Ann

Hi Ann,

Thank you for the welcome,

I did not work with OP, but I’m sure it is the same issue.

Hi @Razvan_Surubariu,

What’s the output of java --version?

 
Thx,
Ann

Hi Ann,

This is the output,
image

Hi again Ann,

It did start now. I think my issue was related to disk space; freeing up some space seems to have solved it.

The missing zstd.dll was a red herring, it is possible that my issue and OP’s issue are different.

Thank you for your time and good luck Charles with your issue.

1 Like

SonarQube community 10.7.0.96327. As Razvan_Surubariu indicated, I have followed the instructions and am still seeing this error.

My java --version indicates:
image

Hi,

Going back to the logs in your initial post, I find this:

I suspect your $JAVA_HOME is pointing to this Eclipse Adoptium distribution. Can you make sure SonarQube is starting up with that OpenJDK default version you found on the host?

 
Ann

Hi All,

Has anyone got a fix for this issue? I am using sonarqube-10.8.1.101195 and OpenJDK Runtime Environment Microsoft-10377968 (build 21.0.5+11-LTS) and have the same error while trying to start it in the console.

When you say default version on the host, I did not understand that. I tried installing MS OpenJDK and still has the same error

Hi @rinu.varghese,

This thread is 2 months old. Per the FAQ, please create a new thread with all your details.

 
Thx,
Ann