首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装JDK 8声纳

无法安装JDK 8声纳
EN

Stack Overflow用户
提问于 2014-07-08 14:06:09
回答 1查看 1.1K关注 0票数 0

我得在我的机器上安装声纳。我跟踪了在Windows上安装Sonar作为Windows服务

当我运行StartSonar.bat时,我看到了控制台的下一个输出:

代码语言:javascript
复制
wrapper  | --> Wrapper Started as Console
wrapper  | Launching a JVM...
jvm 1    | Error occurred during initialization of VM
jvm 1    | Could not reserve enough space for object heap
jvm 1    | Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=160m; support was removed in 8.0
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
jvm 2    | Error occurred during initialization of VM
jvm 2    | Could not reserve enough space for object heap
jvm 2    | Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=160m; support was removed in 8.0
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
jvm 3    | Error occurred during initialization of VM
jvm 3    | Could not reserve enough space for object heap
jvm 3    | Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=160m; support was removed in 8.0
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
jvm 4    | Error occurred during initialization of VM
jvm 4    | Could not reserve enough space for object heap
jvm 4    | Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=160m; support was removed in 8.0
wrapper  | JVM exited while loading the application.
wrapper  | Launching a JVM...
jvm 5    | Error occurred during initialization of VM
jvm 5    | Could not reserve enough space for object heap
jvm 5    | Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=160m; support was removed in 8.0
wrapper  | JVM exited while loading the application.
wrapper  | There were 5 failed launches in a row, each lasting less than 300 seconds.  Giving up.
wrapper  |   There may be a configuration problem: please check the logs.
wrapper  | <-- Wrapper Stopped
Press any key to continue . . .

如何解决这个问题?

我知道重新安装JDK版本可能解决了这个问题。但我想保留现在的版本:

代码语言:javascript
复制
C:\Users\Nazar_Lelyak>java -version
java version "1.8.0_05"
Java(TM) SE Runtime Environment (build 1.8.0_05-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.5-b02, mixed mode)
EN

回答 1

Stack Overflow用户

发布于 2014-07-09 07:34:17

请检查系统要求,对于SonarQube服务器运行时,还不支持JDK8。您将不得不使用JDK7代替。

更新看起来像支持JDK8版本的≥4.3

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/24633936

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档