Ant配置 ANT_HOME is set incorrectly or ant could not be located

Ant差点找死的原因  

 

搭建Ant时,我弄了半天,在命令行里还是报错:ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.我检查步骤:

1、jdk安装了呀,JAVA_HOME配置了呀: JAVA_HOME:E:\Java\jdk1.5.0_06;

2、Ant解压在E:盘了呀

3、Path里添加到Ant的bin目录了呀:path:E:\Ant\apache-ant-1.8.1\bin;

4、环境变量ANT_HOME也是到Ant的解压目录呀:ANT_HOME:E:\Ant\apache-ant-1.8.1;

我晕!!!你猜怎么着,ANT_HOME的配置,不能加分号我把分号去掉了,欧克!!嘿嘿……

你可能感兴趣的:(勿实笔记)