[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Woody - setting PATH



Just installed the java runtime in /usr/local/j2re1.4.0_01
Now I want to add /usr/local/j2re1.4.0_01/bin to my PATH but I cant seem
to do it.
In /etc/login.defs I changed 

ENV_PATH  PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games

to

ENV_PATH 
PATH=/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games:/usr/local/j2re1.4.0_01/bin

Logged in, but that didn't work. I tried 

export PATH=$PATH:/usr/local/j2re1.4.0_01/bin

At the end of my ~/.bashrc, logged in, but that didn't work, either.

So if I could ask two questions...

1) How should I add a path to PATH so it is available to all users
system wide?
2) How should I add a path to PATH for only one user?

Kind Regards
Crispin Wellington



-- 
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: