You have successfully installed Apache Ant on your Centos 8 server. Download Ant, apache-ant-1.9.7-bin.zip, you need to download the previous version and. Install Apache Ant 1.8.2 or later: Download a binary distribution of Ant 1.8.2 or later from here. It was a replacement for the unix make build tool, and was created due to a number of. To verify if Apache Ant is installed properly use the ant -v command which will display the Apache Ant version: $ ant -versionĪpache Ant(TM) version 1.10.7 compiled on September 1 2019 Use Ant to compile hadoop-eclipse-plugin-2.x plugin under Windows. Apache Ant is a software tool for automating software build processes, which originated from the Apache Tomcat project in early 2000. Apache Ant is a software tool for automating software build processes, which originated from the Apache Tomcat project in early 2000. If your version of Ant (as verified with ant -version) is older or newer than this version then this is not the correct manual set. $ sudo chmod +x /etc/profile.d/ant.shĠ3- Load the environment variables for the current session by using the following command. This is the manual for version 1.9.7 of Apache Ant. $ vi /etc/profile.d/ant.shĠ2- Make the script executable by using the chmod command. Java SDK is installed normally for ANT and Eclipse, simply download the ZIP file. To do that, create a new file named ant.sh inside of the /etc/profile.d/ directory.
If you get an error saying sudo: unzip: command not found, install the unzip package with: sudo dnf install unzip.Ġ1- We will now configure the PATH environment variable to include the Apache Ant’s bin directory.