Hi,
I tested all Ant jars and here (F13 x86_64) all classes are version 46.0 (Java
1.2)
Then I enabled exec_debug on /usr/bin/ant to get the ant invocation classpath,
which is:
$ ant -diagnostics
exec "/usr/lib/jvm/java/bin/java" -classpath
"/usr/share/java/ant.jar:/usr/share/java/ant-launcher
> ---
> XML Parser information
> ---
> Bad version number in .class file
It looks like xerces-j2 was built with OpenJDK and doesn't have target=
flags. IMO all things needing xerces-j2 need to have Requires java >=
1
Hi,
I'm using Fedora 13 x86_64, not 12. On Fedora 11 there where no problems, but I
skipped F12.
It looks like something related to XML parser, see the output of ant
-diagnostics.
--- Ant diagnostics report ---
Apache Ant version 1.7.1 compiled on April 16 2010
---
Hi,
> $ ant -v
> Apache Ant version 1.7.1 compiled on April 16 2010
> Buildfile: build.xml
> Detected Java version: 1.5 in: /usr/lib/jvm/java-1.5.0-sun-1.5.0.22/jre
> Detected OS: Linux
>
> BUILD FAILED
> java.lang.UnsupportedClassVersionError: Bad version number in .class file
On Fedora 12 x86_
Hi there,
Fedora includes Ant 1.7.1 which accoring to
http://ant.apache.org/faq.html#java-version only
requires JDK 1.3 ti run. But if I install Sun JDK 1.5 and try to run any
buildfile, I get:
$ ant -v
Apache Ant version 1.7.1 compiled on April 16 2010
Buildfile: build.xml
Detected Java versio