Ant compile problem
2 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anamika_Majumder
Posted On:   Wednesday, February 27, 2002 08:13 AM

Hello, I am trying to use ant to compile a file in a Windows environment and am getting the following message:

-----------------------------
.....
BUILD FAILED

C:Program Fileshttpunit-1.3anaHttpTestsrc utorial uild.xml:32: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory.

-------------------------------
can someone tell me how to fix this problem.
Many thanks.
Anamika

Re: Ant compile problem

Posted By:   Erik_Hatcher  
Posted On:   Friday, March 1, 2002 06:11 PM

Is JAVA_HOME set properly?

Re: Ant compile problem

Posted By:   Erik_Schalburg  
Posted On:   Wednesday, February 27, 2002 08:39 AM

Do you have the JAVA_HOME environment variable set? In Windows you would do it as follows, assuming you are using the JDK in C:javajdk1.3 (substitute this for whatever directory java is really installed in):


set JAVA_HOME=c:javajdk1.3


Hope that helps,
Erik
About | Sitemap | Contact