When i compile a simple java program , it gets compiled and class file is created . but when i run that prg it shows an error that [ ClassDefNotFound ] what should i do for that . please help me .
I used to get these all the time. If you are using something from the API or something of your own, make sure you are importing them correctly.
Posting the offending code would help too.
The very existence of flamethrowers proves that at some time, some where, some place, someone once said to themselves "I'd really like to set those people on fire over there, but I just can't get close enough".