java error main class could not be found

Solutions on MaxInterview for java error main class could not be found by the best coders in the world

showing results for - "java error main class could not be found"
Estelle
19 Jul 2016
1For me the issue was that my classpath was not set correctly, then you have to add the classpath with -cp:
2java -cp <Full Directory / FilePath> <Name of the ClassFile>