The normal syntax to launch the java program is
java [ <options> ] <class-name> [<arg> ...]
where <option> is a command line option (starting with a "-" character), <class-name> is a fully qualified Java class name, and <arg> is an arbitrary command line argument that gets passed to your application.
When you get the message "Could not find or load main class ...", that means that the first step has failed. The java command was not able to find the class. And indeed, the "..." in the message will be the fully qualified class name that java is looking for.
Reasons for such error can be
1 you made a mistake with the class name argument
2. the application's classpath is incorrectly specified
3. the wrong directory is on the classpath
4. the subdirectory path doesn't match the FQN
5. dependencies missing from the classpath.
6. the class has been declared in the wrong package