i trying set global environment variables on mac os x 10.6 set applications shell sessions.
so far have tried following methods:
- editing /etc/launchd.conf
- creating ~/.macosx/environment.plist , putting them in there
- editing /etc/profile
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
Post a Comment