On Thu, 16 Sep 2004 07:41:11 -0500
"Caldarale, Charles R" <[EMAIL PROTECTED]> wrote

> > From: John Najarian [mailto:[EMAIL PROTECTED]
> > 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
confusing.

> 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
> 
> 
> THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE 
> 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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 


-- 
Joel <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to