Skip to main content

JDK 14 - Target is not a JDK root. System library was not found.

Problem

When I tried to add JDK 14 to my eclipse, the following error was shown

Target is not a JDK root. System library was not found.


Target is not a JDK root. System library was not found.
Target is not a JDK root. System library was not found.


My downloaded JDK folder was named as jdk-14

Solution

I simply renamed my folder from jdk-14 to jdk-14.0 and it worked. The jdk 14 was successfully added to the Eclipse.

Conclusion

It seems that sometimes Eclipse is not able to locate the jdk folder, renaming the folder refreshes the cache of Eclipse and then respective folder is located by Eclipse.







Comments

Post a Comment