File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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

Joined: Jan 10, 2002
Posts: 63838

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] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: setting PATH
jQuery in Action, 3rd edition