‘ant’ is not recognized as an internal or external command, operable program or batch file. Mirthbees 12 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:Print