The command line does not execute имя_файла.class , i.e. I create a file with the main method, everything is as it should be, имя_файла.java in cmd is writing
javac имя_файла.java compiles and creates имя_файла.class then write
java имя_файла gives Could not find or load main class ...
via IDE - everything compiles and runs. ps: the file name is for example, the original name is Game
the path to jdk 1.8\bin entered into CLASSPATH
public class Game{ public static void main(String [] args){ System.out.println("WOOOWWW!!!"); } }