It OK, I forgot to add tools.jar in my classpath...
Sorry, Siamack Farshi wrote: >Have you defined JAVA_HOME in your environmental variables!! > >-----Original Message----- >From: Cyriaque Dupoirieux [mailto:[EMAIL PROTECTED]] >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:[EMAIL PROTECTED]> PCO Technologies Burolines - 2 ter rue Marcel Doret 31700 Blagnac T�l : 05.34.60.44.13 - Fax : 05.34.60.44.10
