How to Download and Install Apache ANT | Software Testing Material

Step By Step Process – Install Apache Ant :

Install Apache Ant – Apache ANT is a Java library and command-line tool that help building software.

Step 1: Go to this URL – http://ant.apache.org/bindownload.cgi

Install ANT

Step 2: Download zip file named like apache-ant-1.10.1-bin.zip

Install ANT

Step 3: Extract the zip file into a directory structure of your choice.

Install ANT

Step 4: Go to Computer – Properties – Advanced system settings

Install ANT

Install ANT

Step 5: A new window opens. Click on Environment Variables

Install ANT

Step 6: Make sure JAVA_HOME is configured as Windows environment variable.

If it’s not set, Click ‘New…’ button and set variable name as ‘JAVA_HOME’ and variable value as the root path to JDK.

Install ANT

Install ANT

Step 7: Click ‘New…’ button and set variable name as ‘ANT_HOME’ and variable value as the root path to unzipped folder and click OK.

Install ANT

Install ANT

Step 8: Select ‘Path’ variable from the list and click ‘Edit’ and append ANT Path till bin folder

Install ANT

Step 9: Restart system one time and you are ready to use Ant build tool now.

Step 10: To check the version of your Ant using command line: Open Command Prompt and type ‘ant -version‘ as shown below.

The system should find the command ant and show the version number of your installed ant.

Install ANT

If you are not regular reader of my blog then I highly recommend you to signup for the free email newsletter using the below link.

Rajkumar SM is a founder of SoftwareTestingMaterial. He is a certified Software Test Engineer by profession and blogger & youtuber by choice. He has an extensive experience in the field of Software Testing. He writes here about Software Testing which includes both Manual and Automation Testing. He loves to be with his wife and cute little kid 'Freedom'.

Leave a Comment

Share via
Copy link
Powered by Social Snap