Jboss AS 7与JDK8一起使用 [英] Jboss AS 7 work with JDK8

查看:508
本文介绍了Jboss AS 7与JDK8一起使用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows 7环境中尝试使用JDK 1.8.0_144启动JBoss EAP 7.1.1 Final.每次我从命令行运行standalone.bat时,都会出现以下错误.服务器停止启动无法继续进行.

I'm trying startup JBoss EAP 7.1.1 Final with JDK 1.8.0_144 in Window 7 enviroment. Each time I run the standalone.bat from command line I got following error. 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

下面是链接,我下载了JBoss AS 7.1.1 Final.我还配置了JAVA_HOME和PATH环境变量,我认为配置应该没有问题.

Below is link i download JBoss AS 7.1.1 Final. I also configure my JAVA_HOME and PATH environment variable, I think configuration should not an issue.

http://jbossas.jboss.org/downloads

我发现有一篇文章提到Jboss AS 7无法使用JDK8,但我的同事认为PC正在使用JDK8启动.我想应该有另一种方法来解决这个问题.

I found some article mention that Jboss AS 7 unable work with JDK8 but my colleagues is PC is startup with 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. 

更新

尝试后,我发现Jboss EAP 7.0或Jboss AS 7.0.0 Final可与JDK8一起执行,我将其降级为所需的版本.

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 AS 7.1.1.Final在jdk 8上不起作用.仅EAP 6.3.3(比7.1更新) .1)及更高版本具有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

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

您确定您的朋友正在使用jdk 8吗?即使他正在使用jdk8,也不建议这样做.

Are you sure your friend is using jdk 8? Even if he is using jdk8, it is not recommended to do so.

这篇关于Jboss AS 7与JDK8一起使用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆