Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
230 views
in Technique[技术] by (71.8m points)

java 8 - 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. 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.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...