ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: set incorrectly
Date Wed, 10 Nov 2010 16:09:39 GMT
On 2010-11-10, Eric Smith wrote:

> I am using gcj as my only jdk, so I am limited to using java
> 1.5. After installing ant-1.8.1, however, I am having problems
> building packages with ant because is set to 1.6. I
> have never had a jdk that supports java 1.6 on my system, so why would
> this be set like that?

Ant doesn't trust system properties and sets based on
the classes it can load.  Ant thinks it is running on JDK 1.6 if it can
find java.util.ServiceLoader which shouldn't be present if gcj really
only support Java5.

Is this causing trouble for you or is it just a cosmetic issue?  Ant's
trunk will detect gcj by now (but not use that information much) so we
could adapt the places where you are seeing problems right now.


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message