Prerequisites:
down load ant zip file :apache-ant-1.9.7
and sample package : salesforce_ant_37.0
we will have jar file in salesforce_ant_37.0
More info : please check below link.
http://www.mkyong.com/ant/how-to-install-apache-ant-on-windows/
down load ant zip file :apache-ant-1.9.7
and sample package : salesforce_ant_37.0
we will have jar file in salesforce_ant_37.0
copy above jar file and paste in apache-ant-1.9.7 lib file..
In Path settings we need to add JDK and Apache ant file path files.
EX : 1.C:\Program Files\Java\jdk1.8.0_101\bin
2.C:\Program Files\apache-ant-1.9.7\bin
In Path settings we need to add JDK and Apache ant file path files.
EX : 1.C:\Program Files\Java\jdk1.8.0_101\bin
2.C:\Program Files\apache-ant-1.9.7\bin
More info : please check below link.
http://www.mkyong.com/ant/how-to-install-apache-ant-on-windows/