0

When I am running ant command its showing the following output:

ANT_HOME is set incorrectly or ant could not be located. Please set ANT_HOME.

AlBlue
  • 23,254
  • 14
  • 71
  • 91
Piyush
  • 5,145
  • 16
  • 49
  • 71

1 Answers1

1

ANT_HOME is is an environment variable which can be set temporary for a command line instance (window) by calling SET. Example:

SET ANT_HOME="C:\Program Files\Apache-Ant"

For permanently setting an environment variable open the Control Panel and open System. On the tab Advanced you should find a button named Environment Variables

Robert
  • 39,162
  • 17
  • 99
  • 152