LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   environment variable (http://www.linuxquestions.org/questions/linux-newbie-8/environment-variable-18181/)

mimi 04-10-2002 08:13 AM

environment variable
 
dear friends
Hi
Pls help me solve my problem:

I set an environment variable this way:
export JAVA_HOME=/usr/jdk1.3/
and it works untill I restart my linux. When I reboot the system, my environment variable is disapeared. How can I keep my env. vars for always?


thanks
mimi


:confused:

Mik 04-10-2002 09:29 AM

Add them to one of the login scripts, like ~/.bashrc


All times are GMT -5. The time now is 01:00 AM.