ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject Re: Cant compile
Date Wed, 28 Mar 2001 13:46:35 GMT
You should also run
ant -v

to see what Ant thinks the JDK version is. Since you are using NT, you may
find that there are copies of java.exe in winnt\system32 which may not be
the version you expect.

Conor


----- Original Message -----
From: "KC Baltz" <KBaltz@responsenetworks.com>
To: <ant-user@jakarta.apache.org>
Sent: Wednesday, March 28, 2001 11:33 PM
Subject: RE: Cant compile


> I agree with the previous response that you should use jdk1.3 if you have
a
> choice.  But I'm pretty sure Ant still supports 1.2.2.  What did you set
> JAVA_HOME to?  It should be something like d:\jdk1.3  .  Notice that the
> \bin directory is not included.  You might also try running
"java -version"
> to make sure you are indeed getting the version of java you expect.
>
> K.C.
>
> -----Original Message-----
> From: Siddhartha Chandurkar (EHPT)
[mailto:Siddhartha.Chandurkar@ehpt.com]
> Sent: Wednesday, March 28, 2001 5:35 AM
> To: 'ant-user@jakarta.apache.org'
> Subject: Cant compile
>
>
>
> Hi ,
> I am a first timer. I am not being able to compile my source files. The
> error i am getting is "Cannot use classic compiler, as it is not
available A
> common solution is to set the environment variable JAVA_HOME to your jdk
> directory."  I have set my JAVA_HOME environment variable and also
jdk1.2.2
> is properly installed and is the path. Can anybody please help me with
this
> problem.
>
> Environment Windows Nt 4.0
> Jdk 1.2.2
> Parser xerces
>
>
> thanks & nregards,
> Siddhartha
>
>


Mime
View raw message