Entries in .bash_profile: # JAVA export JAVA_HOME=$(/usr/libexec/java_home) export PATH=${PATH}:${JAVA_HOME}/bin