Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


Search this Thread
Old 04-10-2002, 07:18 AM   #1
Registered: Apr 2002
Location: Earth globe
Distribution: Red Hat Linux
Posts: 35

Rep: Reputation: 15
Unhappy environment variable

dear friends
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?

Old 04-10-2002, 07:38 AM   #2
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 991

Rep: Reputation: 30


enter the line in bash_profile file and run

source bash_profile
Old 04-10-2002, 07:45 AM   #3
Registered: Apr 2002
Location: Earth globe
Distribution: Red Hat Linux
Posts: 35

Original Poster
Rep: Reputation: 15
Re: bash_profile

dear jayakrishnan
thank u for your help.I'll do it and tell u the result



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
environment variable gamor Linux - Newbie 4 04-30-2005 05:28 PM
Environment Variable salmanucit Linux - Software 2 07-21-2004 02:27 AM
environment variable mimi Linux - Newbie 1 04-10-2002 08:29 AM
how to set CC environment variable General 2 12-18-2001 01:02 AM
how do you set the environment variable CC? Linux - General 0 12-17-2001 09:17 PM

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration