Warning about JAVA_HOME if not set.