Add the /bin directory of Ant to your PATH and you should be good to go.
For example, my bin is here: C:\Program Files\ant\apache-ant-1.8.1\bin
Next, create a JAVA_HOME environment variable and set it to the location of your JDK.
For example, my JAVA_HOME looks like this:
JAVA_HOME=C:\Program Files\Java\jdk1.6.0_21
This tells Ant where to find Java compiler.
1 comment:
Actually the JAVA_HOME is the location which has the bin directory that contains various executables....
Further details can be found out at:
http://www.mehtanirav.com/2008/09/02/setting-java_home-on-mac-os-x-105/
Post a Comment