Table of Contents

How to run Ant from the command line

To run the ant build from the command line, you must:

  • set the java home to the JDK
set JAVA_HOME=C:\Program Files\Java\jdk1.6.0_24
  • add the ant binary in the PATH
C:\Program Files\NetBeans 7.1\java\ant\bin\