Hello Scott, On Sep 24, 2008, at 04:56 , Scott Stephens wrote:
I ran ant -diagnostics:
------- Ant diagnostics report ------- Apache Ant version 1.7.0 compiled on September 8 2008
------------------------------------------- Implementation Version ------------------------------------------- core tasks : 1.7.0 optional tasks : not available
------------------------------------------- ANT PROPERTIES ------------------------------------------- ant.version: Apache Ant version 1.7.0 compiled on September 8 2008 ant.java.version: 1.5 ^^^^^
In your installation log, it says: <snip> This program built for x86_64-pc-linux-gnu gmake cannot be found in the path javac 1.5.0_16 javac: no source files <snip> Would it be that your ant is using a slightly older version of java, than javac? Because this is the typical situation in which you get the error "Bad version number in .class file".
ant.core.lib: /usr/share/ant/lib/ant.jar ant.home: /usr/share/ant
<snip>
------------------------------------------- org.apache.env.Which diagnostics ------------------------------------------- Not available. Download it at http://xml.apache.org/commons/
------------------------------------------- XML Parser information ------------------------------------------- Bad version number in .class file
It looks like was using java 1.5 in both ant and javac, but the last line is definitely concerning. I installed Sun Java 1.6 and I got a much more reasonable ant -diagnostics printout. Of course I need either java 1.4 or 1.5 to build MonetDB... which leaves me in a bit of a bind I guess. For the time being I'll try building Monet with java 1.6 anyway and see how that goes.
If you want to use JDBC, you have to use java 1.4 or 1.5, the 'java' module will not compile with Java 1.6 See for example the configure output: checking for Java >= 1.4, but < 1.6... yes -> 1.5.0_16 found The JDBC 1.6 API is not compatable with JDBC 1.5 API, and the implementation was no trivial task. Actually, Fabian (our JDBC guy) has tried to implement 1.6, but didn't succeed / hasn't finished due to quite several difficulties. Maybe he can tell you more about this. Regards, Jennie
-- Scott
On Mon, Sep 22, 2008 at 10:00 AM, Stefan Manegold
wrote: On Mon, Sep 22, 2008 at 04:51:13PM +0200, Ying Zhang wrote:
Hello Scott,
First of all, thanks for trying MonetDB.
On Mon, Sep 22, 2008 at 07:46:28AM -0500, Scott Stephens wrote:
I've been attempting to install MonetDB by compiling the Aug. 2008 superball. My system is 64-bit linux, specifically the Ubuntu Intrepid Ibex alpha . It appears that the installation is failing while compiling the JDBC driver, with the error message:
BUILD FAILED java.lang.UnsupportedClassVersionError: Bad version number in .class file
I'm using the Sun Java 1.5.0 JRE and JDK. You can look at my full installation log here: http://docs.google.com/Doc?id=dhqbmd8x_6fqdnn7c3 Can somebody help me out? I'm hoping I've just made an easily corrected newbie mistake, but I'm out of things to try.
This looks like you have multiple versions of java/javac installed on your system. 'ant' might be using a different java compiler than the one 'javac' in your path (but I unfortunately don't know how to find which javac ant is using...).
`ant -diagnostics` ?
Stefan
Can you maybe search for all java versions you have, and remove/disable all but one version?
Kind regards,
Jennie
Thanks,
Scott
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- | Dr. Stefan Manegold | mailto:Stefan.Manegold@cwi.nl | | CWI, P.O.Box 94079 | http://www.cwi.nl/~manegold/ | | 1090 GB Amsterdam | Tel.: +31 (20) 592-4212 | | The Netherlands | Fax : +31 (20) 592-4312 |
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users