nice try to detect JAVA_HOME