RE: [INTERFACES] Compiling jdbc for Linux and Solaris

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: Kent Perrier <kent(dot)perrier(at)pgs(dot)com>, pgsql-interfaces(at)hub(dot)org
Subject: RE: [INTERFACES] Compiling jdbc for Linux and Solaris
Date: 1999-04-20 14:18:00
Message-ID: A9DCBD548069D211924000C00D001C441ECEDD@exchange.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

These are both in the FAQ. Try unsetting your CLASSPATH, then run make.

FAQ & Pre-compiled drivers are on my web site:
http://www.retep.org.uk/postgres/

Peter

--
Peter T Mount, IT Section
petermount(at)it(dot)maidstone(dot)gov(dot)uk
Anything I write here are my own views, and cannot be taken as the
official words of Maidstone Borough Council

-----Original Message-----
From: Kent Perrier [mailto:kent(dot)perrier(at)pgs(dot)com]
Sent: Tuesday, April 20, 1999 2:55 PM
To: pgsql-interfaces(at)hub(dot)org
Subject: [INTERFACES] Compiling jdbc for Linux and Solaris

I am attempting to compile the jdbc interface for postgresql 6.4.2 on
Solaris (using jsdk 2, aka jdk 1.2) or linux (using the blackdown
jdk1.2). I have postgresql installed on both machines. Here is a
representation of the errors I am getting for each platform:

Linux:
[postgres:/usr/local/src/postgresql-6.4.2/src/interfaces/jdbc]$ make
javac postgresql/CallableStatement.java
postgresql/CallableStatement.java:37: class postgresql.CallableStatement
must be declared abstract. It does not define void setClob(int,
java.sql.Clob) from interface java.sql.PreparedStatement.
public class CallableStatement extends PreparedStatement implements
java.sql.CallableStatement
^

Solaris 2.6:
[/export/home/postgres/jdbc]$ make
javac postgresql/CallableStatement.java
postgresql/CallableStatement.java:37: class postgresql.CallableStatement
must be declared abstract. It does not define java.sql.Time getTime(int,
java.util.Calendar) from interface java.sql.CallableStatement.
public class CallableStatement extends PreparedStatement implements
java.sql.CallableStatement
^

Has anyone else been able to get this compiled? If so, can you help me
out (or send me your bytecompiled jdbc drivers)?

Kent
--
work hard, save aggressively, invest well and get the hell out

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Maarten Boekhold 1999-04-20 14:24:19 Re: [INTERFACES] Re: [SQL] Questions about embedded-sql!
Previous Message Francesco Fortugno 1999-04-20 14:08:59 unsubscribe