错误信息如下:
--> Wrapper Started as Daemon
Launching a JVM...
JVM exited while loading the application.
Unrecognized option: --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
JVM Restarts disabled. Shutting down.
<-- Wrapper Stopped
Java版本不对。
通过在官网上,可以确定需要什么JDK版本:
https://docs.sonarqube.org/latest/requirements/requirements/