Linux下安装Apache-ant
Linux下安装Apache-ant
一、下载 Apache-ant
wget http://apache.etoak.com/ant/binaries/apache-ant-1.8.0RC1-bin.tar.gz
二、解压到指定的目录,这里我们选择与 java 同一个目录
cd /usr/java
tar -zxvf apache-ant-1.8.0RC1-bin.tar.gz
三、添加环境变量
nano /etc/profile
export ANT_HOME =/usr/java/apache-ant-1.8.0RC1
export PATH=$PATH:$ANT_HOME/bin
相关推荐
BitsPlayer 2020-05-29
roygbip 2020-02-16
BitsPlayer 2020-02-13
lrcoop 2020-02-03
chichichi0 2020-01-06
BitsPlayer 2019-12-19
BitsPlayer 2019-12-14
xueliangEmail 2013-07-22
cailianren 2010-04-15
wugang0 2019-11-09
lustdevil 2011-08-28
evilvoid 2008-04-17
leonranri 2019-11-05
leeccr 2019-10-31
roygbip 2019-10-24