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