A Newbie's ?? [message #1853034] |
Wed, 15 June 2022 09:52  |
Eclipse User |
|
|
|
followed the steps in the cheat sheet for HelloWorld
getting a HelloWorld.class in the /bin dir
HelloWorld.java code is
public class HelloWorld {
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.println("Hello world!");
}
}
get the following error
"Error occurred during initialization of boot layer
java.lang.module.FindException: Error reading module: C:\Users\Public\Athena\eclipse-workspace\HelloWorld\bin
Caused by: java.lang.module.InvalidModuleDescriptorException: HelloWorld.class found in top-level directory (unnamed package not allowed in module)"
the [b]module-ingfo.java[/b }that was created has this in it
module HelloWorld {
}
What am I missing ?
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05475 seconds