ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cognet.com.au>
Subject RE: Problem with javac task and JDK 1.1
Date Wed, 12 Jul 2000 11:13:29 GMT
Russell,


Are you running on NT/windows - check the system32 directory. The JDK
installer throws a copy in there unfortunately.

Conor


--
Conor MacNeill
Home: conor@m64.com
Work: conor@cortexebusiness.com.au
Web:  www.cortexebusiness.com.au


> -----Original Message-----
> From: Russell Gold [mailto:russgold@acm.org]
> Sent: Wednesday, 12 July 2000 21:00
> To: ant-dev@jakarta.apache.org
> Subject: Re: Problem with javac task and JDK 1.1
>
>
> At 6:44 AM -0400 7/12/00, Stefan Bodewig wrote:
> >>>>>> "RG" == Russell Gold <russgold@acm.org> writes:
> >
> > RG> At 11:55 PM -0400 7/11/00, Conor MacNeill wrote:
> >
> > >> Can you run ant at verbose level to see what ant thinks the JDK
> > >> version is.
> >
> > RG> ant thinks I am running JDK 1.2.2, which I was, yesterday. Does
> > RG> ant cache the version?
> >
> >No. If Ant thinks you are using JDK 1.2 this means it could find
> >java.lang.ThreadLocal in your CLASSPATH. Maybe rt.jar from your 1.2.2
> >installation has somehow slipped into the CLASSPATH you supply to Ant?
>
> It seems to be a configuration problem rather than anything to do
> with Ant. While "javac" runs the JDK 1.1.8 compiler, "java" is
> running the JDK 1.2.2 JVM - which is odd, as I do not see it in my path...
>
> ------------------------------------------------------------------------
> Russell Gold                     | "... society is tradition and order
> russgold@acm.org    (preferred)  | and reverence, not a series of cheap
> russgold@netaxs.com              | bargains between selfish interests."
> rgold@thesycamoregroup.com       |   - Poul Anderson, "Iron"
>
>
>


Mime
View raw message