1

I've tried to add JRE10 in Eclipse 4.8 Photon (Windows -> Preferences -> Java -> Installed JREs -> Add...). Unfortunately I've received the following error message: target is not a jdk root. system library was not found.

I've already read this question and the related answers but since it is about different versions of Eclipse and JRE I wonder if somebody encountered a problem like mine and if somebody knows a solution about it. Thank you in advance.

Alexander Agopov
  • 133
  • 4
  • 12
  • 1
    What is in the selected directory? Does it contain `bin/java` and `bin/javac`? If yes, what exact version is shown in the _About_ dialog? – howlger Sep 22 '18 at 19:42
  • 1
    Yes, the selected directory contains bin/java and bin/javac. The version is 10.0.2. The strange thing is that I've tried again a minute ago and this time there is no error message. Everything works fine although I haven't changed anything – Alexander Agopov Sep 22 '18 at 19:57
  • Maybe at the first attempt, the JDK was not finished installed/extracted/copied. Anyway, does everything work now? – howlger Sep 22 '18 at 21:02
  • 1
    Yes, everything is fine. Thank you! – Alexander Agopov Sep 23 '18 at 05:56
  • By the way, I'm sure that the JDK was already extracted at the first attempt, because it had been done earlier. – Alexander Agopov Sep 23 '18 at 06:07

0 Answers0