Jdk-10 in Eclipse Mars.2

0

When trying to install jdk10 on eclipse, I get the famous "target is not a JDK root.System library was not found" error. Googleando I found some bugs that more or less came to be the same but for java9, which installing a support plugin in eclipse through the marketplace, it was solved, but for the mars.2 I do not see anything ...

Any ideas?

PS: I'm a novice programmer, and this is my first message in this forum, sorry if something is wrong.

    
asked by NandaldiaN 11.04.2018 в 12:27
source

1 answer

0

I will go in parts; The jdk10 can not be installed in eclipse, the jdk10 is installed in your operating system. It is true that a patch was created for an eclipse version to fix a bug associated with jdk 9. Eclipse 4.5 is the version called "Mars" this was published in 2015 and could run with jdk 7 or jdk 8 link , Mars 2 packages were published in February 2016 link . On those dates there was still no Jdk 9 or jdk 10 link . The problem is that jdk 10 (March 2018) is not compatible with Mars eclipse (February 2016). The solution would be to install the newest eclipse version that is compatible with jdk 10, or install jdk 7 or jdk 8 that are compatible with Mars eclipse

    
answered by 21.05.2018 в 23:01