现在报这个错~~
BUILD FAILED
D:\workspace\ant_text\build.xml:46: Unable to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\MyEclipse 6.5\jre"
你把JAVA_HOME错误的配置到JRE目录了,改成:C:\Program Files\Java\jdk1.5.0_04或者类似的就行了。
如果你是在myeclipse里面运行的ant,那么修改myeclipse绑定到jdk,不要jre