NoClassDefFoundError
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Friday, March 28, 2003 03:30 PM

I assume that if I am getting this error that it means my class_path is not pointing to the correct place.
What is the correct class_path files for j2sdk1.4.0_03 and for j2sdkee1.3.1?

Re: NoClassDefFoundError

Posted By:   Bahman_Barzideh  
Posted On:   Saturday, March 29, 2003 09:14 AM

You are correct that you have a CLASSPATH problem. The
first step to correcting it would be to look at the error.
It should tell you what class it cannot find.

Also what your class path looks like sometimes depends
on your platform. For example on the NT platform my
CLASSPATH includes the following:

%JAVA_HOME%jrelib
t.jar;%JAVA_EE_HOME%libj2ee.jar;

where JAVA_HOME is set to c:appsjdk1.4.1 and
JAVA_EE_HOME is set to c:appsjdkee1.3.
But on my Mac OS X, I don't need to specify rt.jar in
my CLASSPATH as it is already known to the system.





Best way to track down your problem is to get the name of the class that cannot be found and track it down (find where it is) . For all you know the missing class may be one
of your own!
About | Sitemap | Contact