ANT_HOME set correctly but couldn't run antĪNT_HOME is in reality set incorrectly as ANT_HOME refers to path upto ant installation directory which is parent directory of bin.and you have set path upto bin which is incorrect.ĭo the following ANT_HOME = C:\Users\Rahul\Downloads\apache-ant-1.8.4Įrror installing Ant: ANT_HOME is set incorrectly It turns out that the zip file I downloaded for ant is not correct. This also worked for me by setting up environment variables, like so:ĪNT_HOME is set incorrectly or ant could not be located. ![]() What happens if you try something like this, which worked for me: C:\>set ANT_HOME=C:\apache-ant-1.8.1Ĭ:\>set PATH=%ANT_HOME%\bin %JAVA_HOME%\binĪpache Ant version 1.8.1 compiled on April 30 2010 ![]() Error installing Ant: ANT_HOME is set incorrectly ANT_HOME is set incorrectly or ant could not be locatedĪNT_HOME might be set, but that doesn't mean the path to /bin is in your PATH so the OS can find it.Īdd ANT_HOME/bin to your PATH and the OS will be able to find ant.bat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |