Allow JAVA_HOME to be set via configuration parameter in yaml.

Another fix for Issue #50.  This one allows the user to set the JAVA_HOME in the yaml instead of relying on environment configuration everywhere.