It's not a secret anymore!
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
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "NoClassDefFoundError" Watch "NoClassDefFoundError" New topic


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.
I agree. Here's the link:
subject: NoClassDefFoundError
It's not a secret anymore!