java can't load main class code example
Example: could not load main class java
// after compiling
$ javac Main.java
// instead of
$ java Main.class
// try running
$ java Main
// after compiling
$ javac Main.java
// instead of
$ java Main.class
// try running
$ java Main