ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arun Gupta <xmltec...@yahoo.com>
Subject Not able to find modern/classic compiler
Date Tue, 03 Jul 2001 04:32:33 GMT
Hi,

I'm starting to use ANT for the first time. I
downloaded ver 1.3 from jakarta.apache.org and wrote a
vanilla "Hello World" example.

Then I'm trying to build the example. However I'm
getting the following:

<LOG>
Buildfile: build.xml

init:

compile:
    [javac] Modern compiler is not available - using
classic compiler
    [javac] Compiling 1 source file to
/home/arung/workarea/ant/hello/build

BUILD FAILED

/home/arung/workarea/ant/hello/build.xml:24: Cannot
use classic compiler, as it is not available A common
solution is to set the environment variable JAVA_HOME
to your jdk directory.

Total time: 2 seconds
</LOG>


JAVA_HOME is initialized to the appropriate directory,
in build.xml, in ant script and in environment
variables.

What could be the problem ?

Thanks,
-Arun


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Mime
View raw message