无法 运行 SonarQube 6.1, Ubuntu 14, 打开 Java 1.7.0_111, MySQL 5.7
Unable to run SonarQube 6.1, Ubuntu 14, Open Java 1.7.0_111, MySQL 5.7
我想我已经正确设置了 MYSQL 并尝试了 运行 sonarQube,但是我在 sonar.log 文件中遇到以下错误。
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperSimpleApp: Unable to locate the class org.sonar.application.App: java.lang.UnsupportedClassVersionError: org/sonar/application/App : Unsupported major.minor version 52.0
WrapperSimpleApp Usage:
java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
Where:
app_class: The fully qualified class name of the application to run.
app_arguments: The arguments that would normally be passed to the
application.
<-- Wrapper Stopped
执行 start 和 status 后,
emgda@ubuntu:~/sonarqube-6.1/bin/linux-x86-64$ sudo ./sonar.sh start
Starting SonarQube...
Started SonarQube.
emgda@ubuntu:~/sonarqube-6.1/bin/linux-x86-64$ sudo ./sonar.sh status
SonarQube is not running.
非常感谢任何帮助。
您应该滚动到日志片段的最右侧。实际错误在那里:Unsupported major.minor version 52.0
它告诉你需要升级到 Java 8.
我想我已经正确设置了 MYSQL 并尝试了 运行 sonarQube,但是我在 sonar.log 文件中遇到以下错误。
--> Wrapper Started as Daemon
Launching a JVM...
Wrapper (Version 3.2.3) http://wrapper.tanukisoftware.org
Copyright 1999-2006 Tanuki Software, Inc. All Rights Reserved.
WrapperSimpleApp: Unable to locate the class org.sonar.application.App: java.lang.UnsupportedClassVersionError: org/sonar/application/App : Unsupported major.minor version 52.0
WrapperSimpleApp Usage:
java org.tanukisoftware.wrapper.WrapperSimpleApp {app_class} [app_arguments]
Where:
app_class: The fully qualified class name of the application to run.
app_arguments: The arguments that would normally be passed to the
application.
<-- Wrapper Stopped
执行 start 和 status 后,
emgda@ubuntu:~/sonarqube-6.1/bin/linux-x86-64$ sudo ./sonar.sh start
Starting SonarQube...
Started SonarQube.
emgda@ubuntu:~/sonarqube-6.1/bin/linux-x86-64$ sudo ./sonar.sh status
SonarQube is not running.
非常感谢任何帮助。
您应该滚动到日志片段的最右侧。实际错误在那里:Unsupported major.minor version 52.0
它告诉你需要升级到 Java 8.