Vincent,

I set the JAVA_HOME to  c:\bea\jdk130, still it was taking the  java.home as C:\bea\jdk130\jre and gave the same error.

I set the environment variable -Djava.home=c:\bea\jdk130, this also gives the same error.

thanx,
Kalu

Vincent Massol wrote:

Seems like an Ant related issue. I would suggest you use c:\bea\jdk130 as your JAVA_HOME environment variable instead,as tools.jar may not been found otherwise.

-Vincent

-----Original Message-----

From: Kalusivalingam Thirugnanam [mailto:[EMAIL PROTECTED]]
Sent: 07 February 2002 13:29
To: [EMAIL PROTECTED]
Subject: building the examples of Cactus !!

Hi, 

When I try to build the examples of Cactus , it always gives the following error !! 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    [echo]
    [echo] java.home = C:\bea\jdk130\jre
    [echo] user.home = C:\WINNT\Profiles\kalu.000
    [echo]
     [echo]
     [echo] basedir = C:\kalu\jakarta-cactus-23-1.2\sample
     [echo]
     [echo] cactus.jar = ../lib/cactus.jar
     [echo] cactus.ant.jar = ../lib/cactus-ant.jar
     [echo] servlet.jar = C:/kalu/jakarta-cactus-23-1.3dev/lib/servlet.jar
     [echo] junit.jar = C:/kalu/jakarta-cactus-23-1.3dev/lib/junit.jar
     [echo] httpclient.jar = ../lib/commons-httpclient.jar 

prepare: 

prepare-compile:

compile:
    [javac] Modern compiler is not available - using classic compiler
    [javac] Compiling 25 source files to C:\kalu\jakarta-cactus-23-1.2\sample\t
rget\classes 

BUILD FAILED 

C:\kalu\jakarta-cactus-23-1.2\sample\build\build.xml:188: Cannot use classic co
piler, as it is not available A common solution is to set the environment varia
le JAVA_HOME to your jdk directory.

Total time: 6 seconds 

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

As the output suggest that the JAVA_HOME is set properly, still it gives the error. 

If any one faced this problem or knew any solution to this problem, Can u pl. share with me the same ? 

thanx in advance,
Kalu

**************************Disclaimer************************************
      


Information contained in this E-MAIL being proprietary to Wipro Limited
is 'privileged' and 'confidential' and intended for use only by the
individual or entity to which it is addressed. You are notified that any
use, copying or dissemination of the information contained in the E-MAIL
in any manner whatsoever is strictly prohibited.



 ********************************************************************

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to