agora inbox for pljava-dev@postgresql.org  
help / color / mirror / Atom feed
[Pljava-dev] unable to compile pljava
2+ messages / 0 participants
[nested] [flat]

* [Pljava-dev] unable to compile pljava
@ 2007-01-17 20:18  
  0 siblings, 1 reply; 2+ messages in thread

From:  @ 2007-01-17 20:18 UTC (permalink / raw)

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
       ^





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* [Pljava-dev] unable to compile pljava
@ 2007-01-18 01:01  
  parent: 
  0 siblings, 0 replies; 2+ messages in thread

From:  @ 2007-01-18 01:01 UTC (permalink / raw)

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
>   





^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2007-01-18 01:01 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-01-17 20:18 [Pljava-dev] unable to compile pljava 
2007-01-18 01:01 ` 

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