ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: Problems with installation of Ant on Windows 2k server
Date Mon, 21 Apr 2003 03:11:04 GMT

----- Original Message -----
From: "Raghu" <kadabaraghu@symphony.cc>
To: <user@ant.apache.org>
Sent: Friday, April 18, 2003 22:38
Subject: Problems with installation of Ant on Windows 2k server


> hi all,
>
> I have read the ant manual and done the following tasks for installing
> ant on windows 2k server,
> The following are the environment variables set
> ANT_HOME = d:\ant
> JAVA_HOME = d:\j2sdk1.4.1
> CLASSPATH=
>
%JAVA_HOME%\jre\lib\rt.jar;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\LIB\tools.jar;
%ANT_HOME%\lib\;
>
> PATH = c:\j2sdk1.4.1_02\bin;ANT_HOME\bin\;

should be %ANT_HOME%\bin

>
> The problem i am facing is
> 1) when i type ant on c drive it says ant is not recognised as an
> internal or external command , even after setting the path..

see above.

> 2)when i run ant with the complete path info (c:\>d:\ant\bin\ant.bat),
> its running java command the output is
> Usage: java [-options] class [args...]
>            (to execute a class)
>    or  java -jar [-options] jarfile [args...]
>            (to execute a jar file)

hmm. try completely unsetting CLASSPATH. You should not need one for Ant
projects.


Mime
View raw message