GeeCON Prague 2014*
The moose likes Mac OS and the fly likes setting PATH Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » Mac OS
Bookmark "setting PATH" Watch "setting PATH" New topic
Author

setting PATH

bryan lim
Ranch Hand

Joined: Dec 26, 2008
Posts: 140
hi all

i know that to set PATH i can do :

export PATH=mypath/path/path > ~/.bash_profile


but it doesn't seems to be permanent..... how can i make it permanent such that everytime i log into terminal the path will there....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61314
    
  66

If you have placed the export command in your .bash_profile correctly, it will get executed every time that you log in.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: setting PATH