ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Naveen_JaiDayal <>
Subject RE: Ant build problem URGENT!!!!!!
Date Wed, 18 Sep 2002 07:05:49 GMT
Hello All

I have verified that tools.jar is in the classpath by <echo>'ing out
${java.class.path}. and it is showing correct directory structure for the
JDK installation. I also tried setting "build.compiler" to "modern" in the
build.xml file.

Doing a java -version I saw that the java what I am using is the same what
is specified in my JAVA_HOME.

I Tried giving the argument -Dbuild.compiler="modern" to command line Ant
but still getting the same problem

Modern compiler is not available - using classic compiler


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

Under HKEY_Local_Machine\Software\Javasoft the value for the
'CurrentVersion' is 1.3. It seems correct to me.

I don't know from where the classic compiler is getting picked up.


This email (including any attachments) is intended for the sole use of the
intended recipient/s and may contain material that is CONFIDENTIAL AND
PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or
distribution or forwarding of any or all of the contents in this message is
STRICTLY PROHIBITED. If you are not the intended recipient, please contact
the sender by email and delete all copies; your cooperation in this regard
is appreciated.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message