Adding JAVA_HOME to ~/.profile instead of ~/.bash_profile so we don't clobber user's shell environment settings.