How to Install Ant on Windows 10

By | 2018-11-11T11:57:27+00:00 February 27th, 2018|ant|0 Comments

In this tutorials, I am going to show you how to setup or install ant on windows 10 operating system.

Install Ant on Windows 10 :

Download latest version of Apache ant from here, now it is Apache-ant-1.10.2-bin.zip

apache ant installation windows 10

Download the above-mentioned latest version and unzip the folder at your favorite location.

The unzipped ant folder like below.

ant installation windows 10 2

Set Ant_Home :

Before going to set Ant_Home, you should Set JAVA_HOME on your machine.If Java Home hasn’t been set in your machine, go through the below recommended article to set the Java Home on windows 10 and proceed further.
Recommended : How to set JAVA_HOME on windows 10

Add Ant_Home at Advanced System Settings > Environment Variables > System Variables > New

Variable name : ANT_HOME

Variable value : Extracted ant home path. For me it is D:\Softwares\apache-ant-1.10.2

Install Ant on Windows 3

Click OK.

Edit Path Variable :

Select Path variable under the System Variable session and click on Edit, you can see Edit Environment Variable window like below.

Install Ant on Windows 10 4

Click on New button and give path like %ANT_HOME%\binand click on OK.

Test It :

Close your windows command prompt and re open it check for ant version by passing this command ant -v

Install Ant on Windows 5

There you can see the installed version of ant.

References :

Happy Learning 🙂

About the Author:

Hi Folks, you have reach this so far, that shows you like what you are learning. Then why don't you support us to improve for bettor tutorials by leaving your valuable comments and why not you keep in touch with us for latest updates on your favorite blog @ facebook , twitter , Or Google+ ,

Leave A Comment