java.lang.NoClassDefFoundError
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sridhar_Reddy
Posted On:   Monday, December 27, 2004 07:46 PM

Hi This is Sridhar,


I installed j2sdk1.4.2_05 version on my system but when i am trying run simple java file i am getting following problem.
java.lang.NoClassDefFoundError: Sample
Exception in thread "main"
Please provide solution to this problem.

Thanking you

with regards,
Sridhar

Re: java.lang.NoClassDefFoundError

Posted By:   Esteve_Olm  
Posted On:   Friday, January 28, 2005 03:48 AM

Are you newbie?

First of all, you can only run .class files, you must compile your .java and get a .class

If you are doing this ok, then there is a problem in your classpath.
About | Sitemap | Contact