From: ryan at hyperstep.com (Ryan Holmes) Date: Wed, 17 Jan 2007 17:01:23 -0800 Subject: [Pljava-dev] unable to compile pljava In-Reply-To: <45AE847B.7010100@lcrcomputer.net> References: <45AE847B.7010100@lcrcomputer.net> Message-ID: <45AEC6E3.8090206@hyperstep.com> Use JDK 1.5. The isPoolable() method was added to Statement in Java 1.6 as part of JDBC 4. hth, -Ryan Lyle Giese wrote: > I ahve been trying to install pljava(1.3.0) on SuSE and left it alone > for awhile and just came back to this project and am trying again. I > installed 32bit SuSE 10.1 without any java and install java, > jre(1.5.0_11 and jdk(1.6.0) from Sun. > > When I try to make pljava I get several lines like below (these are the > first two lines) and make stops. I tried to use GCJ to compile it and > it compilies, but I get no JNI_createJVM in pljava.so(which is where I > left off a couple of months ago). > > Any body have any clues on where the below comes from and how to correct > this? > > Thanks, > Lyle Giese > > Start of compile errors using GCC on SuSE 10.1: > > /home/addons/pljava-1.3.0/src/java/pljava/org/postgresql/pljava/jdbc/SPIStatement.java:25: > org.postgresql.pljava.jdbc.SPIStatement is not abstract and does not > override abstract method isPoolable() in java.sql.Statement > public class SPIStatement implements Statement > ^ > /home/addons/pljava-1.3.0/src/java/pljava/org/postgresql/pljava/jdbc/SPIConnection.java:42: > org.postgresql.pljava.jdbc.SPIConnection is not abstract and does not > override abstract method > createStruct(java.lang.String,java.lang.Object[]) in java.sql.Connection > public class SPIConnection implements Connection > ^ > > _______________________________________________ > Pljava-dev mailing list > Pljava-dev at gborg.postgresql.org > http://gborg.postgresql.org/mailman/listinfo/pljava-dev >