tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joel <>
Subject Re: A little offbeat question
Date Fri, 17 Sep 2004 04:17:45 GMT
On Thu, 16 Sep 2004 07:41:11 -0500
"Caldarale, Charles R" <> wrote

> > From: John Najarian []
> > Subject: RE: RE: A little offbeat question
> > 
> > I'm still going to look at the CLASSPATH env var.  Maybe I should
> > add '.' to the CLASSPATH variable.
> These days, Sun seems to be recommending not using the CLASSPATH 
> environment variable - ever. 

I wish they would clarify that, to, "Don't set CLASSPATH yourself. Let
the applications or frameworks do that." I think that would be less

> Use either the -cp argument on each
> program invocation, or make the proper directory current when you
> execute the desired program. 

In light of security issues deriving from the default assumption of
having executables in the working directory, -cp would be the correct
way to do this. 

But I don't remember. Is Sun planning to do away with defaulting to the
current working directory when CLASSPATH is empty?

> Your experience is a good example of why
> global environment variables must be used very judiciously.
>  - Chuck
> PROPRIETARY MATERIAL and is thus for use only by the intended recipient.
> If you received this in error, please contact the sender and delete the
> e-mail and its attachments from all computers.
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

Joel <>

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message