ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elankath, Tarun (Cognizant)" <>
Subject RE: ANT_HOME problem on Windows Me
Date Wed, 06 Nov 2002 09:30:39 GMT
Try doing the following checks..

a Go to the command line and type java.. see whether java.exe is in the
b Do a java -version.. check if correct java is in the path..
c Do a %JAVA_HOME%\bin\java..
d Try also doing a %ANT_HOME%\bin\ant at the command line. That should come

These are just suggested sanity checks...usually one tends to mistype the
paths in environment variables.

Hope that helps,

-----Original Message-----
From: todd thorner []
Sent: Wednesday, November 06, 2002 6:44 AM
Subject: ANT_HOME problem on Windows Me

Ok, I've searched through the archives but couldn't find exactly the answer
I need.

I'm new to Ant, and just installed it on Windows Me into the following


I changed my autoexec.bat to include the following lines:

set ANT_HOME=C:\devtools\ant
set PATH=%PATH%;%ANT_HOME%\bin

Now, when I reboot, open a MS-DOS window and enter "ant" at the prompt, I
get the following:

"ANT_HOME is set incorrectly or ant could not be located.  Please set

I see a file called "ant.bat" (among others) inside C:\devtools\ant\bin

So what gives?  Thanks for any help.

Outgrown your current e-mail service? Get 25MB Storage, POP3 Access,
Advanced Spam protection with LYCOS MAIL PLUS.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message