On 2009-02-19, meher03 <mehe...@hotmail.com> 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.

http://openjdk.java.net/
http://openjdk.java.net/projects/jdk6/
http://icedtea.classpath.org/wiki/Main_Page

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

It would if you didn't use gcj.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@ant.apache.org
For additional commands, e-mail: user-h...@ant.apache.org

Reply via email to