Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
jdeisenberg wrote: > > > Steve Loughran wrote: >> Scot P. Floess wrote: >>> so unless you are setting any kind of factory for the xml parser, it >>> should use the stock XML parser that comes with Java. >>> >> ant -diagnostics finds the XML p

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Steve Loughran wrote: > > > > 0. What is printed up to that point? > > 1. what does java -version say > > 2. what's in ANT_HOME/lib > That was the problem. I installed the binary of the latest ant, and exported ANT_HOME to point to that directory. It seems to be working now. -- View th

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Steve Loughran wrote: > > Scot P. Floess wrote: >> >> so unless you are setting any kind of factory for the xml parser, it >> should use the stock XML parser that comes with Java. >> > > ant -diagnostics finds the XML parser > > That's the problem. diagnostics ends with this

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Scot P. Floess-2 wrote: > > > It almost looks like what ever version of the XML parser you are using was > compiled with a newer VM? > > [snip] > > I am not sure *where* to find the XML parser so that I might update it. What is ant's default classpath, or where should I look? -- View th

Re: XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Not that I doubt you ;) But from the command line, what do you get doing: java -version Just wanting to make sure you somehow don't have a JDK 1.4 or less... [snip old info] [da...@localhost android_app]$ java -version java version "1.5.0_15" Java(TM) 2 Runtime Environment, Standard Editio

XML Parser give "bad version number in .class file"

2009-08-11 Thread jdeisenberg
Using Java 1.5 (and also have tried Java 1.6) on Mandriva Spring 2008. When trying to build an android app using ant -debug I get this output: = java.lang.UnsupportedClassVersionError: Bad version number in .class file at java.lang.ClassLoad