LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 04-22-2005, 05:36 AM   #1
kleener
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Rep: Reputation: 0
Removing Environment Variables


Howdy all,

Have installed Suse 9.2 and added JAVA as part of the installation. Now when I log in I get three environment variables in bash as follows


$JAVA_BINDIR $JAVA_HOME $JAVA_ROOT

Attempting to install a piece of software which requires JAVA_HOME to be setup. Have done this but it keeps moaning - Digging around the web it was suggested that you need to remove all other JAVA variables and only have JAVA_HOME to get this to work - Fine

Question is how do I remove this variables

All help appreciated.

Brian
 
Old 04-22-2005, 06:17 AM   #2
kleener
LQ Newbie
 
Registered: Aug 2003
Posts: 2

Original Poster
Rep: Reputation: 0
Answer

Was playing with export but it will not remove the variable.

Luckily the unset command worked a treat

unset <variable>


Cheers anyway

Brian
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Environment Variables - where do they go!?! iansoundz Linux - General 7 11-17-2005 02:27 AM
environment variables in c++ s3b0 Programming 6 08-27-2004 09:19 AM
environment variables kakridge Linux - Newbie 1 07-14-2003 06:25 PM
removing environment variables Nevetsmik103081 Linux - General 2 06-23-2003 09:53 AM
environment variables. jISV Linux - General 0 04-05-2002 06:01 AM


All times are GMT -5. The time now is 07:53 PM.

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
Open Source Consulting | Domain Registration