Install Ant on Mac Sierra 10.12
Hello Mac User! This Tutorial Shows You Step-by-Step Mac Sierra Install Ant.
First of all Ant for Mac Sierra is a build tool, a small program designed to help software teams develop big programs by automating all the drudge-work tasks of compiling code, running tests, and packaging the results for redistribution.
Furthermore Apache Ant is written in Java and is designed to be cross-platform, easy to use, extensible, and scalable.
Finally included in the Tutorial a Link to Getting Installed the Recommended Oracle Java JDK for Mac Sierra 10.12.
Download Latest Apache Ant BinariesLatest Apache Ant tar.gz
Then Double-Click on Ant Archive to Extract
Open a Command Line Terminal Window
Finder > Applications > Utilities > Terminal
(Press “Enter” to Execute Commands)
Next Relocate Apache Ant:
mv /Users/dave/Downloads/apache-ant* /opt/
And Set Up the User PATH:
The JAVA_HOME Should Point to the Oracle Java JDK Installation.
How-to Install Recommended Oracle JDK 7+ on Mac OS X:Install Oracle JDK for Mac
Then Load the New SetUp:
Finally Test Ant Installation:
Apache Ant Building Java Quick-StartAnt Quick-Start Guide