Check for JAVA_HOME and build Samza and install it locally.