+ 1

Could not load or find the main class..

i am trying to run my java program.There is no error found but on runtime it is giving a message ... Could not load or find the main class. What should I do?

6th Oct 2017, 12:14 PM
Gaurav Thakur
Gaurav Thakur - avatar
2 Antworten
+ 1
check class name
6th Oct 2017, 12:36 PM
shobhit
shobhit - avatar
+ 1
the class name and the java file name..both are same
6th Oct 2017, 1:01 PM
Gaurav Thakur
Gaurav Thakur - avatar