Java Grumble Grumble Why Can't i get in in my path Grumble Grumble
Hello I'm using suse 9.0 and well for like 5 days now I seem to have lost my path. I was wondering if sombody on here knows were it went. You see i want to add /usr/java/j2re1.4.2_04/bin to the path. I've tried export path = I've tried set path= i've looked in every single config file as far as my little eye can see. So Now I shall cusult the wizzard of oz. Please wizzard grant me a brain....... Or at least some sleep been a few days know you know.... LOL but for serious If somebody could help me figure this out that would be great.
|
and with capitals? try export PATH=/bla/bla
you can check if it worked with echo $PATH succes, -= iluvatar =- |
Man the wizzard is fast :) And really does know all no i wasn't using capitals. Is that a permanent entry or no all mighty wizzard?
|
If you type PATH=/usr/java/j2re1.4.2_04/bin
echo $PATH will return /usr/java/j2re1.4.2_04/bin So if you want to keep your path, you should do as follow export PATH=/usr/java/j2re1.4.2_04/bin:${PATH} However it won't be permanent. I have edited .bashrc in order to make it permanent. But there should be another way |
in my .bashrc i don't see any path info though
|
It's normal
But you can add a line like this one export PATH=/usr/java/j2re1.4.2_04/bin:${PATH} Every time you launch bash it will tell him to add usr/java/j2re1.4.2_04/bin to his PATH It works quite well Again, I believe there is a better way to do it. But I am not aware of it. |
If you don't where to add it. Add it at the end of your .bashrc file just beofre the ultimate fi
You will have to launch a new shell to check if it is working |
alright I'll do that
|
All times are GMT -5. The time now is 02:14 PM. |