Well, after a little investment, I found that the drill-config.sh configuration file is checking the java version with the wrong regular expression:
"$JAVA" -version 2>&1 | grep "version" | egrep -e "1.4|1.5|1.6" > /dev/null
if [ $? -eq 0 ]; then
fatal_error "Java 1.7 or later is required to run Apache Drill."
fi
Regex "1.4" corresponds to 144, which is the update number in the java version I have. Therefore, floating point should avoid "1 \ .4"
And that finally solved my problem.
source
share