Jboss-as-7.1.1.final and jdk1.8 Incompatible solutions

Source: Internet
Author: User
Tags jboss jboss server server port

Today in the installation of 1.8 computer installed jboss7.1.1, configured to run the time is unable to start, and finally came to the answer is: jboss-as-7.1.1.final and jdk1.8 incompatible


1, if your computer installed jdk1.8, then in the Run JBoss (bin->standalone.bat), card to JBoss as 7.1.1.Final "Brontes" starting, will not run down, But do not want to uninstall jdk1.8, look at the solution.


First, see the online tutorial how to download the JDK previous version download a 1.7 or previous version, (http://jingyan.baidu.com/article/9989c746064d46f648ecfe9a.html)


Install the downloaded JDK to a specified folder.


Third, with Notepad into the directory of JBoss: Find the Bin directory Standalone.bat, with Notepad or other text editing software, modify Java_home, for your jdk1.7, installation path. (If your JBOSS environment variable is configured correctly.) Jboss_home: Your JBoss path. Under the path, add;%jboss_home%\bin)



If you want to modify your JBoss server port, you can go to jboss->standalone->configuration and find the Standalone.xml file: Change the 8080 to the port you want,


Finally, in the case of configuring the JBoss environment variables, start (can not use run.bat), to see if the line is not good ...

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.