0
我有一个项目使用ANT构建。当我尝试运行buld.xml时,它显示以下错误。无法运行ant build.xml
BUILD FAILED
C:\Users\user3\workspace\cube_web\build.xml:64: 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:\jdk1.7"
我该怎么办?由于
我需要将JAVA_HOME添加到'C:\ jdk1.7 \ bin'吗? – 2013-03-15 06:19:59
路径取决于你的系统和你安装的jdk – Shurmajee 2013-03-15 06:21:47
路径指向bin目录 – 2013-03-15 06:23:52