Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
1.6k views
in Technique[技术] by (71.8m points)

java - Target is not a JDK root. System library was not found. Eclipse Oxygen 4.7 + Java9 error

I'm trying to test JDK9 (jdk-9-ea+147 version) with Eclipse Oxygen IDE.

I've installed jdk along with jre. From Eclipse Market Place I've installed Java9 Beta extension:

enter image description here

The problem is, when I'm trying to add new installed jre from Eclipse I get following error:

enter image description here

Interesting thing is that this error doesn't occur with installations of previous JDK versions:

enter image description here

Does anyone encounter simillar problem with Eclipse Oxygen? Any feedback is appreciated.

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I've just successfully tested JDK9 with Eclipse Oxygen IDE following the approach you detailed.

Here are the details of my installation (under Windows 10):

enter image description here


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...