Results 1 to 5 of 5
Thread: PATH Problems
Enjoy an ad free experience by logging in. Not a member yet? Register.
I've edited /etc/profile and added these lines:
JAVA_HOME=/usr/java/j2sdk1.4.2_08 CATALINA_HOME=/usr/local/tomcat OX_HOME=/usr/local/ox export PATH PS1 USER LOGNAME MAIL HOSTNAME INPUTRC NLSPATH export HISTCONTROL HISTSIZE export JAVA_HOME CATALINA_HOME PATH OX_HOME PATH=$PATH:$JAVA_HOME/bin:$CATALINA_HOME/bin:$OX_HOME/bin:$OX_HOME/sbin
However, I can't start applications in /usr/local/ox simply by typing the name of the application from any directory. I still have to type /usr/local/ox/---application name.
What's wrong with my path?
I'm not realy sure what you are doing exactly, but if I want to add anything to my $PATH ICode:
Why can't you justCode:
- Join Date
- Oct 2004
The PATH=$PATH:....... comes after the export PATH bit.
Therefore the newly set PATH is not being exported.
Or have I missed something there ?