Re: [INTERFACES] JDBC compile error

Поиск
Список
Период
Сортировка
От Peter T Mount
Тема Re: [INTERFACES] JDBC compile error
Дата
Msg-id Pine.LNX.3.96.980723184207.1291J-100000@maidast.retep.org.uk
обсуждение исходный текст
Ответ на JDBC compile error  (Pap Tibor <papt@edasz.hu>)
Ответы Re: [INTERFACES] JDBC compile error  (Pap Tibor <papt@edasz.hu>)
Список 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 по дате отправления:

Предыдущее
От: dlibenzi@maticad.it (Davide Libenzi)
Дата:
Сообщение: Re: [HACKERS] ODBC and palloc ...
Следующее
От: "Chris Williams"
Дата:
Сообщение: Re: [INTERFACES] Win32 version of the psql library