标签:
source /etc/profile
sudo gedit /etc/profile #sudo是为了取得编辑的权限
ANT_HOME=/home/jij/workspace/apache-ant-1.9.4/bin
PATH=$ANT_HOME/bin:$PATH
ant -version
Apache Ant(TM) version 1.9.3 compiled on April 8 2014
参考链接:
http://blog.sina.com.cn/s/blog_701a88e90100ug2n.html
http://www.cnblogs.com/Neddy/archive/2011/03/01/1968018.html
标签:
原文地址:http://www.cnblogs.com/jij000/p/4523441.html