LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-28-2004, 02:37 PM   #1
jk21
LQ Newbie
 
Registered: Aug 2004
Distribution: Debian
Posts: 26

Rep: Reputation: 15
PATH variable


Hopefully, this will just be a quick question. In order to use a java compiler fromt he command line, I'm having to append the directory to the PATH environment variable every time I start a new command prompt by typing

export PATH=$PATH:/opt/SUNWappserver/jdk/bin

Is there a way to add that text to my PATH variable permanently so I don't have to type it every time I want to use the java compiler?
 
Old 09-28-2004, 02:48 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,974
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
Please use the search, this question has been
asked (and answered) very often.

The time it took you to type your question
would have sufficed to find the answer ;}

http://www.linuxquestions.org/questi...der=descending


Cheers,
Tink

Last edited by Tinkster; 09-28-2004 at 02:50 PM.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing the PATH variable pppaaarrrkkk Linux - Newbie 1 12-01-2005 09:00 PM
$path variable ? moby Linux - Newbie 3 06-01-2004 03:18 PM
the path variable mjkramer Linux - Newbie 4 10-18-2003 07:18 AM
PATH variable file pongsu Linux - General 2 09-25-2003 04:13 AM
setting path variable shahrahulb Linux - General 2 07-30-2003 08:25 PM


All times are GMT -5. The time now is 04:12 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