New here any just about anything else discussed on this site! Anyway, I'm trying to install ant on my machine but I'm getting an error from cmd:
'ant' is not recognized as an internal or external command, operable program or batch file
when running ant -version
or ant -v
. I'm using a Windows 7 machine (SP 1).
echo %PATH%
command returns
C:\ProgramData\Oracle\Java\javapath;C:\Oracle11g\product\11.2.0\client_1\bin;C:\
Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Wi
ndows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPo
werShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;
C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Progra
m Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\I
ntel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;
C:\Users\hat10024\Desktop\Eclipse\apache-ant-1.9.4\bin;C:\Program Files\nodejs\;
C:\Users\HAT10032\AppData\Roaming\npm;C:\Users\HAT10032\AppData\Local\Android\sd
k\platform-tools;C:\Users\HAT10032\AppData\Local\Android\sdk\tools;C:\apache-ant
-1.9.5\bin\;C:\Users\HAT10032\AppData\Roaming\npm
Actual value in Path System Variable is:
C:\ProgramData\Oracle\Java\javapath;C:\Oracle11g\product\11.2.0\client_1\bin;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;C:\Users\hat10024\Desktop\Eclipse\apache-ant-1.9.4\bin;C:\Program Files\nodejs\;C:\Users\HAT10032\AppData\Roaming\npm;C:\Users\HAT10032\AppData\Local\Android\sdk\platform-tools;C:\Users\HAT10032\AppData\Local\Android\sdk\tools;%ANT_HOME%\bin\
I know this is ugly and long and shouldn't look that way from other solutions I've been reading but any help would be greatly appreciated! Thanks!!