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.