Classloader searches for the class in the directories, in the order of
left to right as specified in the classpath envVar
and where it first finds it , it loads it from there.
Hence, it is recommended to put the ". " -- current dir. the first dir in
the classpath.
komal.
Raja Nagendra Kumar
<Nagendra_R@SATYAM-IN To: [EMAIL PROTECTED]
FOWAY.COM> cc:
Sent by: A mailing Subject: ClassLoader problem
while writing an EJB..
list for Enterprise
JavaBeans development
<[EMAIL PROTECTED]
N.COM>
07/19/00 09:42 AM
Please respond to A
mailing list for
Enterprise JavaBeans
development
Hi!
Classloader uses the environment variable CLASSPATH (which point to
multiple
directories separate by ";" incase of windows) and loades the class from
it. Is
it possible to find the direcotry path from which a Perticular class has
been
loaded.
In short I wish to know the path from which a perticular class has been
loaded..
Regards
Nagendra
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".