I have installed two jdks - jdk 1.5 and jdk 1.8. I have following Ant build.xml config file :
Update Ant to 1.9.x release as Java 8 in incompatible with Ant versions less tha 1.9