Modifying JDK versions in eclipse

Source: Internet
Author: User

In Eclipse, a Java project relies on a JDK that needs to be bound, but there are multiple places to bind, similar to the hierarchy.

1. Java compiler, Preferences, window, eclipse Equivalent to a top-level binding. Default

2. Right-click on each project, properties---project facets, types of bound projects;

3. Right-click on each project, properties, Java compiler, bind the project-level compiler type;

4. Right-click on each item project, build path, JRE runtime;

5. Or a MAVEN project, the compiler-plugin of the MAVEN project will also let you specify the compiler model.

So, check the order, which is bound by the top down, in turn.

When binding multiple versions of the JDK in one eclipse, it's good to do it at the specific project level .

Modifying JDK versions in eclipse

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.