Обсуждение: pb compiling JDBC interface

Поиск
Список
Период
Сортировка

pb compiling JDBC interface

От
Cyril FERRAND
Дата:
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?

Bye

-- 
*************************************************************************
*       Cyril Ferrand : mailto:cyril.ferrand@sophia.inria.fr            *
*            http://www.mygale.org/05/ironmask                          *
*************************************************************************
 

Re: [INTERFACES] pb compiling JDBC interface

От
Peter T Mount
Дата:
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@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