// c://projects/java/learn.java
public class learn {
public static void main(String[] args) {
System.out.println("Hello, World");
}
}
c:\projects\java>javac learn.java
c:\projects\java>java learn.class
Error: Could not find or load main class learn.class
Caused by: java.lang.ClassNotFoundException: learn.class