linux install ant 1.8.2

1, Ant-1.8.2-Download-Apache bin.tar.gz
2, the tar -zxvf decompression, the apache-ant-1.8.2-bin.tar.gz mv to /usr/local/apache-ant-1.8 .2
3, setting environment variables, write / etc / profile file
ANT_HOME = / usr / local / apache -ant-1.8.2
in the PATH added: $ ANT_HOME / bin

= $ ANT_HOME the PATH / bin: the PATH $
4, Source / etc / Profile bring it into force
5, echo $ PATH to see whether the correct
6, run ant to see the success

Reproduced in: https: //www.cnblogs.com/ericsun/archive/2012/03/02/2376966.html

Guess you like

Origin blog.csdn.net/weixin_34128411/article/details/93154933
ANT
ANT