I cannot change my PATH$ variable
^^ No matter what I do I can't change my $PATH variable.
$ set PATH=/usr/java/j2sdk1.4.2/bin $ echo $PATH /usr/bin:/bin/: ......... It never changes. I edited my ~/.bash_profile file still no. Is there anyone else experiencing this problem or anyone that knows a solution. tia :) |
Since your using bash
export PATH=$PATH:path_to_be_added |
Sorry, seems like linuxquestions put a smiley in there
its export PATH=$PATH:[Path_to_be_added] |
I've done that already, it doesn't change it. Even after I log out. :( But thanks anyways.
|
It won't last after a logout, that's a one time command:
PATH=$PATH:/new/path SO PATH=$PATH:/usr/java/j2sdk1.4.2/bin Alternatively... Edit a file in your user's home directory: .bashrc And add the path in with the other's listed. Cool |
nevermind, I just copied all the java file to /usr/bin :)
|
|
All times are GMT -5. The time now is 06:22 PM. |