File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exception oin thread "main"
 
Similar Threads
NoClassDefFoundError
please help me to set the path
problem in running t he program
Trying to run my first program: java.lang.NoClassDefFoundError
NoClassDefFoundError