I have a tiny little Java OpenJDK 17 Module file, module-info.java,

module JavaApplication
{
requires java.base;
}

and Netbeans 12.5 is giving me the following errors:

C:\Users\User\Documents\NetBeansProjects\JavaApplication1\src\Java1\Start.java:1:
 error: file should be on source path, or on patch path for module
package Java1;
C:\Users\User\Documents\NetBeansProjects\JavaApplication1\src\Java1\module-info.java:1:
 error: file should be on source path, or on patch path for module
module JavaApplication
2 errors

If I have a Java application, where exactly am I supposed to put the module 
file itself, what do I do to get it to compile and insert correctly?

Reply via email to