Click to See Complete Forum and Search --> : Dumb PATH question


cuzvinn
10-14-2001, 04:21 PM
Im trying to set the path variable for jdk on the bash shell. This is what I have in .bash_profile:

PATH=$PATH:$HOME/bin:/usr/java/jdk1.3.1_01/bin

Assuming the the actual path is correct, why does this not work. Is the syntax wrong?

Thanks

DMR
10-14-2001, 04:27 PM
You need a line similar to "EXPORT PATH" following the PATH statement.

Malakin
10-14-2001, 09:50 PM
after putting that in .bash_profile you need to either log out and back in or type "source .bash_profile" to load in the new path.