I need help "error: file not found: C:\Program Files\Java\jdk-18\JCreatorV4\MyProjects\main.java
Usage: javac <options> <source files>" this and this-"Error: Could not find or load main class main
Caused by: java.lang.ClassNotFoundException: main"
keep popping up
the code I'm using is the simple hello world for java
the name is main.java
public class main
{
public static void main(String[] args) {
System.out.println("Hello World");
}
}
I'm sorry this smight be a dumb question but I'm a newbie and I got no help from reddit so Im hoping to get help here