Apache Ant: install apache ant on windows

Trabla: Apache Ant: install apache ant on windows


Solving:

1. Install Java Development Kit (JDK)

2. Run CMD check your java compiler version

C:\Users\samuraikit>javac -version
javac 1.8.0_31

3. Download Apache Ant zip file
from here:
http://ant.apache.org/bindownload.cgi

4. Create folder on disk e.g. C:\ant  and unzip Apache Ant archive
e.g. C:\ant\apache-ant-1.9.4\..

Apache Ant howto install apache ant on windows 7 - codingtrabla tutorial 1


5. Add to Windows Environment Variables
ANT_HOME with path to unzipped folder

e.g. ANT_HOME C:\ant\apache-ant-1.9.4

Apache Ant howto install apache ant on windows 7 - codingtrabla tutorial 2


6. Edit "Path" variable - add string :
%ANT_HOME%\bin;

Apache Ant howto install apache ant on windows 7 - codingtrabla tutorial 3


7. Run cmd and type command to check ant :
ant -v


Apache Ant howto install apache ant on windows 7 - codingtrabla tutorial 4

No comments:

Post a Comment