osx - Setting global environment variables via /etc/launchd.conf on Mac OS X 10.6 does not work -


i trying set global environment variables on mac os x 10.6 set applications shell sessions.

so far have tried following methods:

none of these work! 1 found surprising /etc/launchd.conf seems work fine else has tried it. there logical reason why not working me?

this similar problem having installing derby. way solved opening textedit. select file > open @ point press shift + command + . , allow view documents. head user directory , search file called ".profile" . open , add export variable= value line example:

export derby_home=/opt/local/share/java/derby/

save document , restart terminal see if changes went affect.


Comments