JDK version inconsistency in eclipse occurs after the eclipse system switches JDK version

Source: Internet
Author: User

When you need to reduce the JDK version of the current system from a high version to a lower version, you need to manually make the JDK version of the project in eclipse with the JDK version of the current system

Synchronize, or an error will occur

Setting up the compilation environment for Eclipse

To set the compilation environment for a project Java Virtual Machine Runtime environment: Select Java Compiler Settings compiler environment under right-click Properties

Set up the compilation environment in eclipse: perferences-->java-->compiler Settings under Windows

Set the default JDK environment for eclipse: set in windows-->perferences-->java-->installed JREs

Set the Java version of the Web project: Under Right--->properties, under Project Facets, change the Java edition to the version you want

JDK version inconsistency in eclipse occurs after the eclipse system switches JDK version

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.