‘ant’ is not recognized as an internal or external command, operable program or batch file.
This error comes when program is not able to find ant.bat i.e. Ant is not installed properly. Please visit How to install Ant.
October 9, 2008 | Filed Under Ant
Related Post
Comments
2 Responses to “‘ant’ is not recognized as an internal or external command, operable program or batch file.”
Leave a Reply
i downloaded apache ant 1.8.2, unzipped it in C:\ANT created ANT_HOME C:\ANT\bin\ant.bat on the environment variable; i also created the JAVA_HOME on the environment variable; yet i couldnt run my and on cmd.
Fix by adding ant.exe path (usually the bin folder in your ant folder) to your PATH variable, either your system environment variable set or your specific user variable set.