This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Beginning Java and the fly likes Exception oin thread  Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Exception oin thread  "main"" Watch "Exception oin thread  "main"" New topic
Author

Exception oin thread "main"

Anil Jain
Ranch Hand

Joined: Mar 10, 2002
Posts: 51
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,


Anil Jain<br />Sun Certified Java(2) Programmer
Anthony Villanueva
Ranch Hand

Joined: Mar 22, 2002
Posts: 1055
Add your working directory to the CLASSPATH environment variable.
Sapna Korecherla
Greenhorn

Joined: Jul 07, 2002
Posts: 10
check ur main method to defined correctly


Sapna
 
Have you checked out Aspose?
 
subject: Exception oin thread "main"
 
It's not a secret anymore!