Install steps for Apache Spark on Mac OS X using Homebrew.
Download and install it from oracle.com, then add following code to your .bash_profile
, .zshrc
, etc.:
# Apache Spark
if which java > /dev/null; then export JAVA_HOME=$(/usr/libexec/java_home); fi