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 12-03-2003, 09:15 AM   #1
scottie
Member
 
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.......

PATH=$PATH:/opt/j2sdk_nb/j2sdk1.2.4/bin/
export PATH

surely I dont have to type this everytime do I?

scottie
 
Old 12-03-2003, 09:34 AM   #2
Demonbane
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
 
  


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
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


All times are GMT -5. The time now is 02:49 AM.

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