Download the necessary software from http://ant.apache.org/bindownload.cgi
(http://wwwftp.ciril.fr/pub/apache//ant/binaries/apache-ant-1.9.4-bin.tar.gz)
tar xvfz apache-ant-1.9.4-bin.tar.gz rm -rf apache-ant-1.9.4/manual mkdir /opt/java mv apache-ant-1.9.4 /opt/java update-alternatives --install /usr/bin/ant ant /opt/java/apache-ant-1.9.4/bin/ant 1