LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices

Reply
 
LinkBack Search this Thread
Old 02-27-2003, 11:08 PM   #1
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Rep: Reputation: 30
Environment vars


I'm trying to set the JAVA_HOME env variable for good on my system. Is there a certain file that is executed each time the box is booted? If not, is there a way I can make the system run a file upon boot?
 
Old 02-28-2003, 12:10 AM   #2
rch
Member
 
Registered: Feb 2003
Location: Santa Clara,CA
Distribution: Mandriva
Posts: 909

Rep: Reputation: 48
Re: Environment vars

Quote:
Originally posted by AMDPwred
I'm trying to set the JAVA_HOME env variable for good on my system. Is there a certain file that is executed each time the box is booted? If not, is there a way I can make the system run a file upon boot?
either
1.export JAVA_HOME
or
2.add an entry to your .bashrc adding an entry of JAVA_HOME
keep posted
 
Old 02-28-2003, 07:11 AM   #3
AMDPwred
Member
 
Registered: Dec 2001
Location: Richmond, VA
Posts: 391

Original Poster
Rep: Reputation: 30
I've been doing step one, but it doesn't keep after a reboot. I'll try number 2 and post back.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
SUSE Environment Vars apocolpse Suse/Novell 6 11-18-2010 03:04 PM
passing vars to awk schneidz Programming 6 09-25-2005 01:52 PM
env vars on Slackware 10 lvella Linux - General 1 11-01-2004 04:55 PM
how to set environment vars at GNOME terminal startup ? janisj Linux - General 8 07-30-2003 06:35 PM
'bash'ing vars (dumping same) 3inone Programming 1 07-26-2003 10:06 AM


All times are GMT -5. The time now is 03:47 AM.

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