wood burning stoves 2.0*
The moose likes Other JSE/JEE APIs and the fly likes NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic
Author

NoClassDefFoundError

Swapnil Sanghai
Ranch Hand

Joined: Dec 05, 2011
Posts: 41

Hello friends.
When I compile a .java file it creates the .class file. But when I try to run that file then it shows the java.lang.NoClassDefFoundError : class name. Here class name is the name of class which I am trying to run. Previously many times I ran the programs but it is the first time that I got this type of error. Environment variable is already set.
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: NoClassDefFoundError