ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Siri Nivasam" <>
Subject Re: Ant 1.6 beta3 fails on windows xp pro
Date Mon, 15 Dec 2003 19:02:15 GMT
Hello Antoine,

Thanks for your reply. After unsetting the classpath, it worked. But why 
should I do this? Is this a bug? Ant 1.5.4 works fine with the classpath 

I am using j2sdk1.4.2_01


>From: Antoine LÚvy-Lambert <>
>Reply-To: "Ant Users List" <>
>To: Ant Users List <>
>Subject: Re: Ant 1.6 beta3 fails on windows xp pro
>Date: Mon, 15 Dec 2003 19:15:34 +0100
>Siri Nivasam wrote:
>>I am running ant 1.6 beta 3 on windows xp pro with sp1.
>>I get this error when I run 'ant -version'
>>        at java.lang.Class.newInstance0(
>>        at java.lang.Class.newInstance(
>>        at
>>        at
>>Can anybody tell why?
>Hi Siri,
>I cannot tell why, but it does not sound good.
>Can you tell :
>- where is ant 1.6 beta3 installed on your computer,
>- which JDK you are using,
>- what are the settings of JAVA_HOME and ANT_HOME in your environment,
>- is the variable CLASSPATH defined in your environment ?
>My recommendations :
>- unset CLASSPATH completely to try to debug the problem,
>- set ANT_HOME to the installation directory of ant ( not necessary, but 
>does not harm)
>- set JAVA_HOME to whereever your JDK is installed
>make sure that the ant version 1.6beta3 bin is in your path, ahead of other 
>ant versions,
>make sure that the JDK's bin directory that you want to use is also ahead 
>in the PATH
>To unsubscribe, e-mail:
>For additional commands, e-mail:

Winterize your home with tips from MSN House & Home.

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

View raw message