How to Install Apache Ant on Mac Mavericks 10.9 OS X Step-by-Step Easy Guide

March 4, 2014 | By Duchateaux.

Quick-Start Apache Ant on Mac Mavericks 10.9 OS X

Hi! The Tutorial shows you Step-by-Step How to Install and Getting-Started with the Latest Apache Ant for Mac 10.9 Mavericks OS X.

Ant 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.

Ant is written in Java and is designed to be cross-platform, easy to use, extensible, and scalable.

Included in the Tutorial a Link to Getting Installed the Recommended Oracle Java JDK 7 for Mac Mavericks 10.9.

Quick-Start Apache Ant on Mac Mavericks 10.9 OS X - Featured
  1. Download Latest Apache Ant Binaries

    Latest Ant tar.gz
  2. Double-Click on Ant Archive to Extract.

  3. Open Terminal Window
    (Press “Enter” to Execute Commands)

    Install Apache Ant Mac Mavericks 10.9 - Open Terminal

    In case first see: Terminal QuickStart Guide.

  4. Relocate Apache Ant:

    sudo su
    mv /Users/dave/Downloads/apache-ant* /opt/
  5. Setting Up the User PATH:

    nano $HOME/.profile


    /nexport PATH=$PATH:/opt/apache-ant-[X.Y.Z]/bin/nexport ANT_HOME=/opt/apache-ant-[X.Y.Z]/nexport JAVA_HOME=/[path/2/jdk7]

    The JAVA_HOME Should Point to the Oracle Java JDK 7 Installation.

    How to Install Recommended Oracle JDK on macOS

    Install Oracle JDK for Mac

    Then Load the New SetUp:

    source $HOME/.profile
  6. Testing Ant Installation:

    ant -version
  7. Apache Ant Building Java Quick Start

    Ant Quick Start Guide

QuickChic Theme • Powered by WordPress