• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error - Could not find or load main  RSS feed

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

When i compile and execute below code. I am getting error "Error: Could not find or load main class main_prg1"




Regards
 
naveen karkra
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Got solution from a similar thread.   Issue resolved by unsetting the CLASSPATH
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!