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/


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



Relevant Pages

  • Re: installing updates via the web?
    ... > ok i am confused i am a newbie dont know what all this means ... network.dns.disableIPv6 and set it to True (double click on the entry). ... Open a terminal window ... "ifconfig eth0 down" ...
    (alt.os.linux.suse)
  • Re: Terminal trouble
    ... James Richardson wrote: ... Xdefaults why this behaviour cannot be modified directly in that way, ... and then recompile the entry. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: broken system after srm -r -d /tmp/.* (user login and several services not working)
    ... you delete these entries. ... the differences are not so strange. ... Now to the failing su for non-root users: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: 2.6.20 and IP_CONNTRACK_FTP
    ... I ran into this compiling 2.6.20 with the .config of 2.6.19 and FireHol ... there are also entries for CONFIG_IP_NF_CONNTRACK!! ... And I'm still ignorant. ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • RE: Adding entries to the main menu.
    ... Red Hat's system menus use the vfolder spec - so the menus are "virtual ... Adding entries to the main menu. ... Do you Yahoo!? ... unsubscribe mailto:redhat-list-request@redhat.com?subject=unsubscribe ...
    (RedHat)