How to install Apache Ant on Windows 10

In this tutorial, you will learn step by step how to install Apache Ant on Windows 10 machine.

To install Apache Ant on Windows, you just need to download the Ant’s zip file, and Unzip it, and configure the ANT_HOME Windows environment variables.

Video Tutorial - How to install Apache Ant on Windows 10

The below video tutorial explained very well step by step how to install Apache Ant on Windows 10 machine:
Here are the quick steps to install Apache Ant on Windows 10 machine.

Quick Steps

Make sure JDK is installed, and JAVA_HOME is configured as the Windows 10 environment variable.

2. Download Apache Ant
Visit Apache Ant official website, download the Ant binary zip file, for example,, unzip it to the folder you want to store Apache Ant.

Add ANT_HOME as the Windows environment variable, and point it to your Ant folder.

4. Update PATH
Update PATH variable, append %ANT_HOME%\bin at the end so that you can run the Ant’s command everywhere.

5. Verification
Enter below command to verify the installation or setup:
C:\Users\Ramesh>ant -v


  1. Hi,

    Thanks for the video..can you please advise me on below..
    I have downloaded the ANT version as shown in the video..and also added the class path variables..however I am getting below error..
    Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre1.8.0_202\lib\tools.jar
    Please suggest..
    Thanks ,


Post a Comment

Leave Comment