ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andreas Guther <>
Subject Re: Ant build problem URGENT!!!!!!
Date Thu, 19 Sep 2002 12:41:57 GMT
It might also help to run ant with -verbose to get more information.

I also made the experience that one Java installation I run did put some 
in the Windows directory and since that came first in the path before 
I always got the wrong compiler (or maybe it was just java?) triggered. 
Took me a while to
find that out.


Naveen_JaiDayal wrote:

>Hi All
>I have started using Ant1.5 just today. I have installed everything as per
>the manual says.
>My OS version is Win2k, JDK version is 1.3 etc.
>I tried to build a small web application. The Ant utility created the whole
>target dir structure, copied
>every thing there. After that it started to compile the java files and gave
>this error.
>D:\testing\navTestSite\build.xml:104: Cannot use classic compiler, as it is
>not available A common
>solution is to set the environment variable JAVA_HOME to your jdk directory.
>Please anybody help me here why this is happening because I have set the
>JAVA_HOME property in 
>my environment variables properly. It is JAVA_HOME=D:\JDK1.3. 
>What is this classic/modern compiler problem?
>Thanks a Lot
>This email (including any attachments) is intended for the sole use of the
>intended recipient/s and may contain material that is CONFIDENTIAL AND
>PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
>distribution or forwarding of any or all of the contents in this message is
>STRICTLY PROHIBITED. If you are not the intended recipient, please contact
>the sender by email and delete all copies; your cooperation in this regard
>is appreciated.

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

View raw message