Apache Ant error on Yosemite

Hi I think I’m having the same issue, could you please elaborate on how you fixed the issue?
thanks in advance!