Download your favorite Linux distribution at LQ ISO.
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 09-28-2004, 03:37 PM   #1
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, 03:48 PM   #2
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927Reputation: 927
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 ;}


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


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 10:00 PM
$path variable ? moby Linux - Newbie 3 06-01-2004 04:18 PM
the path variable mjkramer Linux - Newbie 4 10-18-2003 08:18 AM
PATH variable file pongsu Linux - General 2 09-25-2003 05:13 AM
setting path variable shahrahulb Linux - General 2 07-30-2003 09:25 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:35 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
Open Source Consulting | Domain Registration