ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: Ant version for linux
Date Fri, 20 Feb 2009 09:01:11 GMT
On 2009-02-19, meher03 <> wrote:

> Qs: Will Ant 1.7.1 binary downloaded from the Apache ant website work on
> linux box.

as a blanket question, the blanket answer is YES.

Ant is way more dependent on the Java VM that is executing it than the
operation system and there are many JVMs available for Linux that are
known to work well for Ant.  This includes all Sun VMs (version 1.3.x
or higher required for Ant), IBM's VMs, OpenJDK and Iced Tea - I'm not
sure about the state of Apache Harmony (note I'm using "Java VM" in a
loose technical not in a legal way since neither Iced Tea nor Harmony
could call themselves "Java" AFAIK).

> The following is the output :
> dalesbdev03::/app/ant/bin-> ./ant -version
> java version "1.4.2"
> gcj (GCC) 3.4.6 20060404 (Red Hat 3.4.6-10)

gcj is not a primary target for Ant.  If we receive patches to make
Ant work better on gcj, we apply them, but it may cause trouble 
in unexpected ways.  I recommend turning to a different VM - in case
you prefer a "free" as in FSF's definition VM take a look at OpenJDK
or Iced Tea.

> The above does not show which version of ant is running ...

It would if you didn't use gcj.


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

View raw message