relax what JAVA_HOME replacement is matching against