Re: [INTERFACES] JDBC compile error

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Pap Tibor <papt(at)edasz(dot)hu>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] JDBC compile error
Date: 1998-07-23 17:44:17
Message-ID: Pine.LNX.3.96.980723184207.1291J-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)retep(dot)org(dot)uk or petermount(at)earthling(dot)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(at)maidstone(dot)gov(dot)uk

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Davide Libenzi 1998-07-23 18:00:09 ODBC and palloc ...
Previous Message Byron Nikolaidis 1998-07-23 17:30:42 Re: [HACKERS] ODBC and palloc ...