ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hari.kalako...@verizon.com
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 :

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

BUILD FAILED
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 ?

-HP



--
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