尝试使用 SonarQube 社区版,这是我第一次体验 SonarQube。我刚刚下载了它,并按照说明启动本地实例。我正在运行 Java v10.0.2。
当我运行 D:\SonarQube\bin\windows-x86-64\StartSonar.bat 文件时,启动 JVM 时出现错误。StartSonar.bat 的确切输出是:
wrapper | --> Wrapper Started as Console
wrapper | Launching a JVM...
jvm 1 | Unrecognized option: --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED
jvm 1 | Error: Could not create the Java Virtual Machine.
jvm 1 | Error: A fatal exception has occurred. Program will exit.
wrapper | JVM exited while loading the application.
wrapper | JVM Restarts disabled. Shutting down.
wrapper | <-- Wrapper Stopped
Run Code Online (Sandbox Code Playgroud) sonarqube ×1