Eclipse project name appears Red Fork

Source: Internet
Author: User
Tags jboss
I. Background and reasons

When the project was first added, I used D:\Java\jdk1.7.0_17, and later, because the configuration would switch Tomcat to JBoss, which was a version of JBoss that only supported jdk6, I replaced the "environment variable java_home" with D:\ Java\jdk1.6.0_20, resulting in the project has been reported " Red fork "!

Ii. Solutions

1, re-replace the "environment variable java_home" jdk6 with Jdk7;

2. The JRE environment before the project is inconsistent with the current. Workaround: Right-click the project-->build path-->configure Build path, locate the Libraries tab, locate the "JRE System Library" item at the bottom of the list box, select it and click the "Remove" button , then click the "Add Library" button, and in the pop-up window, select "JRE System Library"--Next-->finish.

Reference Blog: http://blog.csdn.net/hellostory/article/details/5501872

Related Article

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.