Where to set environment variables

Martin Maney ubuntu at two14.net
Thu Oct 21 00:06:50 UTC 2004


On Wed, Oct 20, 2004 at 10:16:46AM -0600, Bob Proulx wrote:
> In general it is best to avoid the need for setting environment
> variables in the user's environment.  This is one of Debian Policy

Hear hear!

> instance in your case it would be easy to have a script in
> /usr/local/bin/java such as the following.  I just typed this in so

You mean /usr/local/bin, with links to the actual programs elsewhere,
yes?  It was the PATH that was (mostly?) needing to be set in the OP's
scenario, I think.  And to gild the lily, the other environment vars
could be set so as not to override existing ones in case an advanced
user wants to alter them, where that makes sense.

-- 
I must say I find television very educational.
The minute somebody turns it on,
I go to the library and read a good book. -- Groucho Marx





More information about the ubuntu-users mailing list