agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
Subject: [Pljava-dev] unable to compile pljava
Date: Wed, 17 Jan 2007 17:01:23 -0800
Message-ID: <45AEC6E3.8090206@hyperstep.com> (raw)
In-Reply-To: <45AE847B.7010100@lcrcomputer.net>
References: <45AE847B.7010100@lcrcomputer.net>

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
>   





view thread (2+ messages)

Message-ID: <45AEC6E3.8090206@hyperstep.com>
Permalink:  ../45AEC6E3.8090206@hyperstep.com/
Also on:    postgresql.org/message-id/45AEC6E3.8090206@hyperstep.com

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pljava-dev@postgresql.org
  Subject: Re: [Pljava-dev] unable to compile pljava
  In-Reply-To: <45AEC6E3.8090206@hyperstep.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox