pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
driver
2+ messages / 2 participants
[nested] [flat]

* driver
@ 1998-10-15 16:31 Andrea Antibo <antibo@mclink.it>
  1998-10-16 17:19 ` Re: [INTERFACES] driver Peter T Mount <peter@retep.org.uk>
  0 siblings, 1 reply; 2+ messages in thread

From: Andrea Antibo @ 1998-10-15 16:31 UTC (permalink / raw)
  To: pgsql-interfaces

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?



^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [INTERFACES] driver
  1998-10-15 16:31 driver Andrea Antibo <antibo@mclink.it>
@ 1998-10-16 17:19 ` Peter T Mount <peter@retep.org.uk>
  0 siblings, 0 replies; 2+ messages in thread

From: Peter T Mount @ 1998-10-16 17:19 UTC (permalink / raw)
  To: Andrea Antibo <antibo@mclink.it>; +Cc: pgsql-interfaces

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




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~1998-10-16 17:19 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1998-10-15 16:31 driver Andrea Antibo <antibo@mclink.it>
1998-10-16 17:19 ` Peter T Mount <peter@retep.org.uk>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox