pas gw coba install ant truz gw coba sintak cek version
ant -version
C:\Users\freakyhost>ant -version
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\lib\tools.jar
Apache Ant version 1.8.1 compiled on April 30 2010
dan setelah googling nie solusinya
ternyata ant salah nya d setting
%JAVA_HOME%!!
naah ini setingan gw pass udah jalan :)
C:\Users\freakyhost>echo %JAVA_HOME%
C:\Program Files\Java\jdk1.6.0_18
C:\Users\freakyhost>echo %ANT_HOME%
E:\app\Java Lib\apache-ant-1.8.1-bin\apache-ant-1.8.1
No comments:
Post a Comment