Received: from edasz.hu ([194.149.41.77]) by hub.org (8.8.8/8.7.5) with ESMTP id EAA06201 for ; Mon, 27 Jul 1998 04:09:45 -0400 (EDT) Received: from op.edasz.hu ([10.1.252.6]) by intgw0.edasz.hu with ESMTP id <14339>; Mon, 27 Jul 1998 09:10:49 +0100 Received: (from papt@localhost) by op.edasz.hu (8.8.5/8.8.5) id KAA15617; Mon, 27 Jul 1998 10:08:54 +0200 Message-ID: <19980727100854.45960@op.edasz.hu> Date: Mon, 27 Jul 1998 09:08:54 +0100 From: Pap Tibor To: Peter T Mount Cc: pgsql-interfaces@postgresql.org Subject: Re: [INTERFACES] JDBC compile error Reply-To: papt@edasz.hu References: <19980723091009.06706@op.edasz.hu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.89.1i In-Reply-To: ; from Peter T Mount on Thu, Jul 23, 1998 at 06:44:17PM +0100 On Thu, Jul 23, 1998 at 06:44:17PM +0100, Peter T Mount wrote: > # unset CLASSPATH > > then run make. These errors are caused by javac getting confused by both > the postgresql and java.sql packages > > This is covered in the README and in the faq > Yes, I have read the README, but: papipc# unset CLASSPATH papipc# echo $CLASSPATH papipc# papipc# make postgresql/CallableStatement.java:213: Method redefined with different return type: postgresql.BigDecimal getBigDecimal(int, int) was java.math.BigDecimal getBigDecimal(int, int) public BigDecimal getBigDecimal(int parameterIndex, int scale) ^ ./postgresql/PreparedStatement.java:0: Class java.math.BigDecimal not found in type declaration. package postgresql; ^ ./postgresql/PreparedStatement.java:27: class postgresql.PreparedStatement must be declared abstract. It does not define void setBigDecimal(int, java.math.BigDecimal) from interface java.sql.PreparedStatement. public class PreparedStatement extends Statement implements java.sql.PreparedStatement [...] ./postgresql/DatabaseMetaData.java:2058: class postgresql.ResultSet is an abstract class. It can't be instantiated. return new ResultSet(connection, f, v, "OK", 1); ^ ./postgresql/DatabaseMetaData.java:2433: class postgresql.ResultSet is an abstract class. It can't be instantiated. return new ResultSet(connection, f, v, "OK", 1); ^ 21 errors make: *** [postgresql/CallableStatement.class] Error 1 So, I got the same errors! --Tibor -- ---------.Sig-------- Tibor Pap ---------------------