I am new to Linux so you will have to excuse my asking what are probably
silly questions. I am trying to edit the $PATH variable in my ~/.bashrc
file to include the $J2EE_HOME/bin directory. I am running into 2
1) When i try and force the changes to .bashrc by running source
.bashrc, the new entries are being added to $PATH but older ones, that
have been removed during last edit, are not. It is not until i log out
and back in again that these changes are recognised. Is this normal?
2) when i do include the $J2EE_HOME/bin directory i use the command
When i source .bashrc my $PATH now begins with
/usr/local/bin/j2sdkee1.3.1/bin. This is correct. However when i log out
and back in my original PATH now begins with
/usr/local/bin/j2sdkee1.3.1/bin:/usr/local/bin/j2sdkee1.3.1/bin:/usr/local/bin/j2sdkee1.3.1/bin Any simple explanations for this?
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!