aspose file tools*
The moose likes Beginning Java and the fly likes No class defination found Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "No class defination found" Watch "No class defination found" New topic
Author

No class defination found

Anuja Navare
Greenhorn

Joined: May 13, 2001
Posts: 6
When I try to run a program, it gives me error - "exception in main thread - NoClassDefFounderror - myprogramname" The progam has compiled without errors. I have added the directoy where my program is in the dos path & still it's giving this error. Any ideas??
Please help.
Thanks!
Anuja
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
Is the class file in your classpath? Or better yet, have you SET your classpath yet?
Go to the DOS prompt and type
>set
and see if there is a classpath parameter and what it is set to.
The path parameter is just for executables. the classpath parameter is for classes that you want the JVM to find.


"JavaRanch, where the deer and the Certified play" - David O'Meara
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: No class defination found
 
Similar Threads
Servlet Internal Error
Adding strings together
how to retrive the data of the last row in the table ?
IoStreams
error while running a program