Gunjan Shah
Gunjan Shah

Reputation: 5168

Eclipse oxygen 4.7 error while adding JDK 11 - Target directory is not JDK root

I am getting error while trying to add JDK 11 to eclipse oxygen 4.7.0 M2.

enter image description here

I also checked on Eclipse Market Place but there is not plug in available for JDK11 support.

Any suggestion to fix this error ?

Upvotes: 2

Views: 8920

Answers (1)

nitind
nitind

Reputation: 20033

https://marketplace.eclipse.org/content/java-11-support-eclipse-2018-09-49

Basically, start by updating to 2018-09 and then that Marketplace entry. JDK 9 support was only added after Oxygen released with Oxygen.1a. A milestone during development won't support Java 9 or any newer release.

In general, please do not keep using a milestone for a release once that release has actually, well, been released.

Upvotes: 6

Related Questions