MyEclipse error-java compiler level does not match perfect solution

Source: Internet
Author: User

When importing a project from another place, you will often encounter Eclipse/myeclipse description Resource Path location Type Java compiler levels does not match the Vers Ion of the installed Java project facet. This problem occurs because the Eclipse/myeclipse JDK build version is inconsistent with the problematic JDK compilation version of the project!

MyEclipse

1. Set up the JDK first, need to determine the project, Eclipse/myeclipse, the system is using the same version of the JDK, my system installed JDK is 1.7, so I put eclipse jdk into 1.7

    1. Enter Windows---proferences---java--compiler settings compiled files using the format is 1.7 version (set to how many lines, as long as compatible, and with your project compiled version always can, I here unified set to 1.7)

    2. Enter Project--properties---java Compiler to set the project compilation version to 1.7

    3. Enter Project--properties---myeclipse---project facets set Java file version to 1.7

    4. 5

      To this, complete the configuration, if there is no solution, you can add my QQ (<b>9715234</b>) to me yo!

MyEclipse error-java compiler level does not match perfect solution

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.