Using env JAVA_HOME instead of implicit