Re: [INTERFACES] JDBC compile error - Mailing list pgsql-interfaces

From Peter T Mount
Subject Re: [INTERFACES] JDBC compile error
Date
Msg-id Pine.LNX.3.96.980723184207.1291J-100000@maidast.retep.org.uk
Whole thread Raw
In response to JDBC compile error  (Pap Tibor <papt@edasz.hu>)
Responses Re: [INTERFACES] JDBC compile error  (Pap Tibor <papt@edasz.hu>)
List pgsql-interfaces
On Thu, 23 Jul 1998, Pap Tibor wrote:

> Hi!
>
> I was unable to compile the JDBC driver in the PostgreSQL 6.3.2 source
> tree. I got 21 errors:
>
> ...
> ./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
> #
>
> My CLASSPATH environment variable was:
> # echo $CLASSPATH
> /usr/local/jdk1.1.5/lib/:./

remove the CLASSPATH with:

# 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

http://www.retep.org/postgres

--
Peter T Mount peter@retep.org.uk or petermount@earthling.net
Main Homepage: http://www.retep.org.uk
************ Someday I may rebuild this signature completely ;-) ************
Work Homepage: http://www.maidstone.gov.uk Work EMail: peter@maidstone.gov.uk


pgsql-interfaces by date:

Previous
From: dlibenzi@maticad.it (Davide Libenzi)
Date:
Subject: Re: [HACKERS] ODBC and palloc ...
Next
From: "Chris Williams"
Date:
Subject: Re: [INTERFACES] Win32 version of the psql library