Added a configuration parameter to the yaml which allows people to set JAVA_HOME independent of the environment.