Re: [INTERFACES] pb compiling JDBC interface

From: Peter T Mount <peter(at)retep(dot)org(dot)uk>
To: Cyril(dot)Ferrand(at)sophia(dot)inria(dot)fr
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: [INTERFACES] pb compiling JDBC interface
Date: 1998-07-08 05:36:33
Message-ID: Pine.LNX.3.96.980708063504.576B-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

On Tue, 7 Jul 1998, Cyril FERRAND wrote:

> Hello
>
> I try to compile JDBC interface for Postgresql. But I can't di it...
> When I do $:make
>
> I have this kind of errors:
>
> ./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
>
>
> Someone can help me?

try unsetting the CLASSPATH. This problem occurs if the current directory
is included in the CLASSPATH before the JDK's classes.

This is described in the README & FAQ (http://www.retep.org.uk/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

Browse pgsql-interfaces by date

  From Date Subject
Next Message Cyril FERRAND 1998-07-08 12:00:17 jdbc examples
Previous Message James Olin Oden 1998-07-07 16:49:00 Re: [INTERFACES] Using psqlodb.dll with a 16-bits application