DRILL-1516: When searching for the java executable, ignore directories named "java"