‘ant’ is not recognized as an internal or external command, operable program or batch file. Mirthbees 13 years ago Root cause: Ant path has not been set. So windows could not recognize ant command. Solution: Set the ant path in cmd like this, Note: Jdk must be installed. Thanks for reading this post………..!!! Share this: Click to share on Facebook (Opens in new window) Facebook Click to share on X (Opens in new window) X Click to email a link to a friend (Opens in new window) Email Click to print (Opens in new window) Print Ant Installations and ConfigurationsDateAugust 11, 2012In relation toJavaAnt (configuration and My First Ant)DateSeptember 30, 2012In relation toJavaAnt Hello worldDateNovember 1, 2012In relation toJava