[Pljava-dev] unable to compile pljava

From: ryan at hyperstep(dot)com (Ryan Holmes)
To:
Subject: [Pljava-dev] unable to compile pljava
Date: 2007-01-18 01:01:23
Message-ID: 45AEC6E3.8090206@hyperstep.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pljava-dev

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
>

In response to

Browse pljava-dev by date

  From Date Subject
Next Message Ryan Holmes 2007-01-18 03:39:35 [Pljava-dev] Portal object leak
Previous Message Lyle Giese 2007-01-17 20:18:03 [Pljava-dev] unable to compile pljava