4 messages in com.mysql.lists.javaRe: compiling the mm.mysql 2.0.3
FromSent OnAttachments
Richard Wallace28 Dec 2000 19:54 
Richard Wallace28 Dec 2000 21:32 
Cris Perdue29 Dec 2000 21:45 
Dirk Hillbrecht30 Dec 2000 08:02 
Subject:Re: compiling the mm.mysql 2.0.3
From:Dirk Hillbrecht (dh@chitec.de)
Date:12/30/2000 08:02:48 AM
List:com.mysql.lists.java

Hello all,

getting the driver to compile (I know, I know, there i are prebuilt class files, but what can I say? I'm a linux user =) I modified the make file use a jdk1.1.8 compiler for JAVAC_1 and a 1.3 compiler for JAVAC_2. I did not change anything else in the make file.

[...]

I haven't run into exactly your problem, but it's pretty clear you are compiling a fairly new driver against older JDBC interfaces, and that would be the reason for all those complaints about methods not being found.

I have asked a similar question not long ago in this very list and got no reply. Since then, I thought about the problem: Could it be that the different parts of mm.mysql must be compiled in different environments? The driver supports JDBC1&2 and it seems to be rather straightforward, that the JDBC1 parts must be compiled by a Java 1.1 environment (esp. libraries), while the JDBC 2 parts must be compiled in a Java 2 environment.

Unfortunately I could not find any compilation hints or makes files since now. Perhaps someone else knows about this topic?

Best regards, Dirk