启动sonarqube报错:JVM exited while loading the application

--> 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版本不对。需要java11

通过在官网上,可以确定需要什么JDK版本:

https://docs.sonarqube.org/latest/requirements/requirements/

posted @ 2022-03-23 10:24  流光抓不住  阅读(740)  评论(0)    收藏  举报