RE: [INTERFACES] Compiling jdbc for Linux and Solaris - Mailing list pgsql-interfaces

From Peter Mount
Subject RE: [INTERFACES] Compiling jdbc for Linux and Solaris
Date
Msg-id A9DCBD548069D211924000C00D001C441ECEDD@exchange.maidstone.gov.uk
Whole thread Raw
List 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@it.maidstone.gov.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.perrier@pgs.com]
Sent: Tuesday, April 20, 1999 2:55 PM
To: pgsql-interfaces@hub.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

pgsql-interfaces by date:

Previous
From: Francesco Fortugno
Date:
Subject: unsubscribe
Next
From: "Gene Selkov, Jr."
Date:
Subject: Re: [SQL] Questions about embedded-sql!