Target is not a JDK root encountered under JDK9. System Library is not found. Problem Solving Solution

Source: Internet
Author: User
Take a simple record of yesterday's setup of the Eclipse Java EE environment, because the installed JDK is the latest version (JDK9), so when you configure Tomcat, the default JRE is not found, and for half a day, It was discovered that the new JDK requires some plug-ins to be installed under Eclipse to successfully locate these defaults. My eclipse version is the Eclipse oxygen.1a version.

There are probably two kinds of online solutions, the first time I was into Eclipse Marketplace Install a Java 9 support for oxygen4.7 plug-in, installed or unable to find the JRE, followed by another solution:

The first step, or to install Plug-ins, the latest version of the plugin update address: Http://download.eclipse.org/eclipse/updates/4.7-U-builds, in Help->install new software, Enter this address, remove Group item xxx, tick the Eclipse SDK, and wait for the installation to success.

The second step, into the Window->preferences->java->compiler, modify the JDK compiled version, as shown in the following figure, if the selection box has 9, you can change the compiled version to 9, identify Jdk9.

(PS: After this installation, my selection box is not 9, followed by the Eclipse marketplace the installation of the Java 9 support for oxygen4.7 plug-in change, installed some updated plug-ins, including the Eclipse SDK, After this installation, the eclipse will be restarted, and the second step into this is to modify the compiled version.

This article reference link: http://tieba.baidu.com/p/5339324185

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.