Executing a simple \"Hello World\" program using Java 9 results in the following error message:
Error occurred during initialization of boot layer
I just encountered the same issue after adding the bin folder to .gitignore, not sure if that caused the issue.
I solved it by going to Project/Properties/Build Path and I removed the scr folder and added it again.