Cloning the repository
Committers
Cloning the REEF repository for committers
git clone https://git-wip-us.apache.org/repos/asf/reef.git
Users
Cloning the REEF repository for everyone else
git clone git://git.apache.org/reef.git
Setting Java Environment
You have set the JAVA_HOME environment variable to the correct Java installation directory for your operating system and java version. On Ubuntu Linux, the current active version of Java is controlled via links from /usr/bin via the update-alternatives command thus the correct setting is given in the code block below. REEF will concatenate the appropriate path to find the appropriate executable files such as /usr/bin/java.
bash script to set JAVA_HOME
export JAVA_HOME=/usr
Compiling