Add JAVA_HOME to env if set.

This adds the ability to specify a given java installation if more than one is installed.