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

后端 未结 6 1224
不思量自难忘°
不思量自难忘° 2020-12-10 01:42

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 ex

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-10 02:18

    I'm also faced this issue "Target is not a JDK root. System Library was not found" for Java 11 and I have done some workaround and got to know, this is related to the version we are using either eclipse or sprint tool suite. So i figured out the correct version and posted below.

    Java 9 Supports:

    • Spring Tool Suite:3.9.0
    • Eclipse:Oxygen (4.7)

    Java 10 Supports:

    • Spring Tool Suite:3.9.4

    • Eclipse: Oxygen (4.7.3) and Above

    Java 11 Supports:

    • Spring Tool Suite: 3.9.7
    • Eclipse: Photon 4.8, 4.10 (officially supports)

    Below are references i used:

    1. STS
    2. Eclipse

    Click Up Vote if this is useful for you.

提交回复
热议问题