environment variables
Hi!
I want to khow how to permanently set environment variables in RH9.
I logged in as root and i have to set JAVA_HOME variable to its directory /usr/local/jdk1.5.0.
I used at bash prompt the command:
export JAVA_HOME= "/usr/local/jdk1.5.0"
after that i executed
echo $JAVA_HOME
then i can see the path /usr/local/jdk1.5.0
but when i close the bash and restart it, the variable is gone................
Now, if i run echo $JAVA_HOME, i get nothig.
So,
please tell me hoe to set the variables so that they are always there.
Thanks.
|