Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-21-2005, 05:59 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
Question export problem


I am running suse 9 and have a problem exporting my PATH variable.

A PATH variable is already set and I want to do the folllowing:

export PATH=/usr/jave/j2sdk/bin:$PATH

this works and I can see when I do an echo $PATH the new path.

unfortunately it only remains for the shell session and not permanently?

I want to run eclipse - it needs to access rmic in the bin directory and can't just use the jre.

thanks in advance for any pointers

Old 04-21-2005, 06:07 AM   #2
Registered: Feb 2005
Location: Kerala(God's own country)
Distribution: Redhat-8
Posts: 35

Rep: Reputation: 15
Try to put it in ur bash_profile .Each time u login it will be exported automatically

Last edited by fssengg; 04-21-2005 at 06:09 AM.
Old 03-17-2006, 07:30 AM   #3
Registered: Aug 2005
Location: Sofia
Distribution: SuSE, ELinOS
Posts: 100

Rep: Reputation: 16
And how it is done if u want to export it globaly, I mean ever user to have the same path?


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
nfs export and loop mount problem thomasd Linux - Networking 9 06-01-2010 02:47 PM
how to export the display bruse Linux - Networking 18 05-03-2005 10:13 PM
Question about /etc/export mijohnst Linux - Networking 2 12-07-2004 01:53 PM
export problem. |mS|Neo Linux - Software 1 12-24-2003 12:49 PM
Export problem marlaina1 Linux - General 0 08-09-2002 03:51 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration