Jboss AS 7 work with JDK8

早过忘川 提交于 2020-07-11 05:57:29

问题


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

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

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. 

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.


回答1:


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

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




回答2:


Go for Wildfly - v8 server it seemlessly works with jdk8



来源:https://stackoverflow.com/questions/47067817/jboss-as-7-work-with-jdk8

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!