How do I set environment variables in Leapord

Joined
Oct 3, 2008
Messages
1
Reaction score
0
Points
1
I have the following line to ~.bash_profile in my home directory

PATH=$PATH:/Applications/NetBeans/glassfish-v2ur2/bin
export PATH

It is the ONLY line in the file.

I saved the update to ~.bash_profile, quit terminal, and relaunched it. Then I type echo $PATH and I do not see the new path appended to the old.
 
Joined
Mar 17, 2008
Messages
6,879
Reaction score
191
Points
63
Location
Tucson, AZ
Your Mac's Specs
Way... way too many specs to list.
Add it to the .profile :)
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top