ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [javac] Modern compiler not found - looking for classic compiler
Date Thu, 09 Jan 2003 01:15:50 GMT
I am trying to execute ant programmatically from a servlet running in
weblgic server(6.1sp4).
Everything works fine but stops with the following error.

When I run from command line it works great.
I tried setting build.compiler property to modern and using defaults by
removing that statement also.

The JAVA_HOME env variable is correctly set.

The error is :

    [javac] Compiling 13 source files to C:\Projects\srcbuild
    [javac] Modern compiler not found - looking for classic compiler

file:C:/scripts/build.xml:112: Cannot use classic compiler, a
s it is not available.  A common solution is to set the environment
variable JAV
A_HOME to your jdk directory.

what is the problem ?


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

View raw message