ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Siamack Farshi <sfar...@724.com>
Subject RE: Problem with javac !
Date Wed, 29 May 2002 13:02:48 GMT
Have you defined JAVA_HOME in your environmental variables!!

-----Original Message-----
From: Cyriaque Dupoirieux [mailto:cyriaque.dupoirieux@pcotech.fr]
Sent: Wednesday, May 29, 2002 9:03 AM
To: Liste Ant
Subject: Problem with javac !


Hello,

    I try to upgrade my ant installation from ant 1.3 to ant 1.4.1.
    I change my SDK from 1.2.2 to 1.3.1 (02).

    And now, when I compile with ant it tells me :

    [javac] Modern compiler is not available - using classic compiler
    [javac] Compiling 10 source files to D:\java\codebase

BUILD FAILED

    D:\...\build.xml:122: Cannot use classic compiler, as it is not 
available A common solution is to set the environment variable JAVA_HOME 
to your jdk directory.

    What can I do ?

    Thanks,

    Cyriaque,
-- 
Cyriaque Dupoirieux <mailto:Cyriaque.Dupoirieux@pcotech.fr>
PCO Technologies
Burolines - 2 ter rue Marcel Doret
31700 Blagnac
Tél : 05.34.60.44.13 - Fax : 05.34.60.44.10


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message