check if JAVA_HOME is set