You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Stefan Bodewig <bo...@apache.org> on 2003/04/01 09:18:56 UTC

Re: getting IncompatibleClassChangeError when using java 1.4

On Mon, 31 Mar 2003, Rossen Angelov <Ro...@thomsonmedia.com>
wrote:

> I'm using Apache Ant version 1.5.1 and when I set JAVA_Home to use
> java 1.4 for compiling, I'm getting the following error output:

Java 1.4 ships with an XML parser of its own (Crimson).  Which Java
version are you using exactly (i.e. 1.4.0 or 1.4.1)?

You should be able to remove all XML related jars from ANT_HOME/lib
and run with whatever is in your Java classlib.  Be aware that the
versions of the XML libraries that ship with Ant (especially the
parser) may very well be more recent than the stuff in Java's
classlib.

Stefan