简体   繁体   English

Jboss AS 7 使用 JDK8

[英]Jboss AS 7 work with JDK8

I'm trying startup JBoss EAP 7.1.1 Final with JDK 1.8.0_144 in Window 7 enviroment.我正在尝试在 Window 7 环境中使用 JDK 1.8.0_144 启动 JBoss EAP 7.1.1 Final。 Each time I run the standalone.bat from command line I got following error.每次我从命令行运行 standalone.bat 时,我都会遇到以下错误。 Server halt on starting cannot proceed anymore.服务器在启动时停止无法再继续。

09:20:44,413 INFO  [org.jboss.modules] JBoss Modules version 1.1.1.GA
09:20:45,203 INFO  [org.jboss.msc] JBoss MSC version 1.0.2.GA
09:20:45,265 INFO  [org.jboss.as] JBAS015899: JBoss AS 7.1.1.Final "Brontes" starting

Below is link i download JBoss AS 7.1.1 Final.下面是我下载 JBoss AS 7.1.1 Final 的链接。 I also configure my JAVA_HOME and PATH environment variable, I think configuration should not an issue.我还配置了我的 JAVA_HOME 和 PATH 环境变量,我认为配置应该不是问题。

http://jbossas.jboss.org/downloads http://jbossas.jboss.org/downloads

I found some article mention that Jboss AS 7 unable work with JDK8 but my colleagues is PC is startup with JDK8.我发现一些文章提到 Jboss AS 7 无法与 JDK8 一起工作,但我的同事是 PC 是用 JDK8 启动的。 I guess should has another way to work up.我想应该有另一种方式来工作。

AS7.1 does not work on JDK8.
Downgrade to JDK7 or Upgrade AS to WildFly 8. 

Update更新

After trying, I found Jboss EAP 7.0 or Jboss AS 7.0.0 Final is executable with JDK8, I will downgrade to that version that what I need.尝试后,我发现 Jboss EAP 7.0 或 Jboss AS 7.0.0 Final 可以使用 JDK8 执行,我将降级到我需要的那个版本。

The article you read is correct, JBoss AS 7.1.1.Final does not work on jdk 8. Only EAP 6.3.3 (which is way newer than 7.1.1) and above have jdk8 support您阅读的文章是正确的,JBoss AS 7.1.1.Final 在 jdk 8 上不起作用。只有 EAP 6.3.3(比 7.1.1 更新)及更高版本支持 jdk8

https://access.redhat.com/articles/111663 https://access.redhat.com/articles/111663

Are you sure your friend is using jdk 8?您确定您的朋友使用的是 jdk 8 吗? Even if he is using jdk8, it is not recommended to do so.即使他使用的是jdk8,也不建议这样做。

选择 Wildfly - v8 服务器,它无缝地与 jdk8 配合使用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM