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 12-03-2003, 09:15 AM   #1
Registered: Oct 2003
Location: UK
Distribution: Slackware 8.0
Posts: 56

Rep: Reputation: 15
Adding Paths

how can i permenantly add a path?

its just that whenever i try to complie a java program i have to export the path of javac as follows.......

export PATH

surely I dont have to type this everytime do I?

Old 12-03-2003, 09:34 AM   #2
LQ Guru
Registered: Aug 2003
Location: Sydney, Australia
Distribution: Gentoo
Posts: 1,796

Rep: Reputation: 47
try put it in your ~/.bash_profile
or /etc/profile if you want to make it global


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
different paths iomari Linux - General 1 11-10-2004 07:57 AM
Where are my paths? colly Linux - General 1 06-17-2004 08:15 AM
Automatically resolving WINDOWS paths to pre-configured Linux paths gazzy Linux - General 1 09-05-2003 11:15 PM
Adding Paths in Redhat 8.0 Fantmx Linux - Newbie 2 04-04-2003 09:28 AM
font paths aaronluke Linux - General 4 09-30-2002 08:32 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:21 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration