ant command fails for JRE 8