LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adding Paths (https://www.linuxquestions.org/questions/linux-newbie-8/adding-paths-122265/)

scottie 12-03-2003 08:15 AM

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

Demonbane 12-03-2003 08:34 AM

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


All times are GMT -5. The time now is 07:16 PM.