Re: Exception in thread "main" java.lang.NoClassDefFoundError
Posted By:
Anonymous
Posted On:
Monday, April 18, 2005 12:20 AM
Hi ,
Reason for getting this error :
1) Your class name and file name are not same
2) Path and classpath have not been set properly
I hope if you take care of the above two you may no get this error again.
Happy coding....
vaibahv
Re: Exception in thread "main" java.lang.NoClassDefFoundError
Posted By:
Anonymous
Posted On:
Wednesday, March 30, 2005 10:55 AM
I can compile but not able to run java program.My environment variables are
path=c:J2sdk1.4.2_04in;
CLASSPATH=c:J2sdk1.4.2_04lib;
Re: Exception in thread "main" java.lang.NoClassDefFoundError
Posted By:
vishvadeepak_tewari
Posted On:
Thursday, March 17, 2005 10:26 AM
may be the compiler was not able to find main() method