my JAVA_HOME environment variable changes automaticly
hello I have a problem with my JAVA_HOME environment variable
what I do: export JAVA_HOME=/opt/SUNWappserver/jdk/ export PATH=$PATH:$JAVA_HOME/bin/ this is ok, but when I restart my PC echo $JAVA_HOME is another directory!? I just want it to be te same every time. Help.. Peter |
What does it say after the boot?
And what distro are you using? Commonly that kind of thing will be set a) globally in /etc/profile/<some_script> or b) individually in ~/.bashrc Cheers, Tink |
found it
I found the problem,
I'm running SUSE 10.0 32bit. I went to /etc/profile.d/ and changed the variable manual in alljava.sh and alljava.csh tnx, Peter |
Good on yah! :}
Cheers, Tink |
All times are GMT -5. The time now is 09:25 PM. |