• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exception oin thread "main"

 
Anil Jain
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Friends I am getting the following error when i m trying to run the program.
Exception in thread "mainjava.lang.NOClassDefFoundError
The program is compiling but not when i run i get the above stated message at console. I am using TextPad. The same program is running in Visual age for java.
advise please,
 
Anthony Villanueva
Ranch Hand
Posts: 1055
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Add your working directory to the CLASSPATH environment variable.
 
Sapna Korecherla
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
check ur main method to defined correctly
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic