‘ant’ is not recognized as an internal or external command Exception

‘ant’ is not recognized as an internal or external command Exception

Ant Commands will not work and throw”‘ant’ is not recognized as an internal or external command, operable program or batch file” exception if the Environment Variable for the Ant installed directory is not added to the Environmental Variable.

Exception:

‘ant’ is not recognized as an internal or external command, operable program or batch file.

Resolution:

Add your Ant installation director to the PATH variable in the Environment Variables.

Leave a Reply