Executing a simple \"Hello World\" program using Java 9 results in the following error message:
Error occurred during initialization of boot layer
I had the same issue and I fixed it this way:
mywork
.myWork
. Let us call the class HelloWorld
.Note: First, make sure that Java is running properly using the CMD command in that way you will understand the problem is on eclipse and not on JDK.