GRE-402 Try to use java on path when JAVA_HOME is not set.