driver

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

driver

От:
Andrea Antibo <antibo@mclink.it>
Дата:
Hi,


I had compiled and used fine jdbc driver under alpha/DEC workstation with
jdk1.1.5

Now in a linux workstation again with jdk1.1.5 the make file show me this error:


javac postgresql/CallableStatement.java
postgresql/CallableStatement.java:37: Can't subclass interfaces: interface
java.sql.PreparedStatement
public class CallableStatement extends PreparedStatement implements
java.sql.CallableStatement
                                       ^
1 error
make: *** [postgresql/CallableStatement.class] Error 1   


 

Why?

Re: [INTERFACES] driver

От:
Peter T Mount <peter@retep.org.uk>
Дата:
On Thu, 15 Oct 1998, Andrea Antibo wrote:

> Hi,
> 
> 
> I had compiled and used fine jdbc driver under alpha/DEC workstation with
> jdk1.1.5
> 
> Now in a linux workstation again with jdk1.1.5 the make file show me this error:
> 
> 
> javac postgresql/CallableStatement.java
> postgresql/CallableStatement.java:37: Can't subclass interfaces: interface
> java.sql.PreparedStatement
> public class CallableStatement extends PreparedStatement implements
> java.sql.CallableStatement
>                                        ^
> 1 error
> make: *** [postgresql/CallableStatement.class] Error 1   
> 
> Why?

This is in the FAQ.

Javac gets confused with certain CLASSPATH definitions. unset CLASSPATH,
then run make again. 

-- 
       Peter T Mount peter@retep.org.uk
      Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
 Java PDF Generator: http://www.retep.org.uk/pdf

FAQ