setting in /etc/profile in debian
I add new entry in /etc/profile.(see below)
#add java variable
JAVA_HOME=/usr/local/jre1.6.0_01
export JAVA_HOME
#add JAVA_HOME to the PATH
PATH="${JAVA_HOME}/bin:${PATH}"
export PATH
I thought these new entries would be effective after I
reopen a new terminal window. But it did not. I have
to manually do source /etc/profile to see the new
changes after I open a new terminal window everytime.
Even a reboot does not help. Does anyone have any idea
?
Many thanks
Yong
____________________________________________________________________________________
Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
http://farechase.yahoo.com/
Reply to: