As can be seen from the attached images, the project jdk has been defined: yet java.lang class is not found.
this is latest version 9.0.2 downloaded today.
I have been experiencing this issue for some time. The workaround is to manually add the jre classes to the project. That's a real hack though.