Mac OS X 10.9 – setting permanent environment variables

Just did this really easy and quick. First create a ~/.bash_profile from terminal:

touch ~/.bash_profile

then

open -a TextEdit.app ~/.bash_profile

add

export TOMCAT_HOME=/Library/Tomcat/Home

Save document in TextEdit and you are done.

Leave a Comment