On Fri, 23 Jan 2004 chris(at)goforit(dot)de wrote:
> I'm trying to compile the 7.4.1 version with java support. The config is:
> SUN J2SDK1.4.2_03
> PostgreSQL 7.4.1 (12/23/03)
> [copy] Copying 1 file to
> [echo] Configured build for the JDBC3 edition driver with NO SSL
Something strange is going on here. It should never try to build a JDBC3
driver without SSL. The 1.4 JDK is the only one that supports JDBC3 and
it has SSL included.
> [javac] Compiling 77 source files to
> error: Invalid checked exception class `java.sql.SQLException' in
> `throws' clause. The exception must be a subclass of an exception
> thrown by
> from class `org.postgresql.jdbc1.AbstractJdbc1Statement'.
> [javac] public PGRefCursorResultSet
> createRefCursorResultSet (String cursorName) throws SQLException
This seems to be indicating that it is finding two versions of
SQLException, another bizarre error.
I would recommend first checking your classpath and seeing if you had any
references to another JDKs internal files. It is best to compile with an
empty classpath. If that doesn't help possibly try reinstalling the jdk.
In response to
pgsql-ports by date
|Next:||From: chris||Date: 2004-01-24 19:52:08|
|Subject: Re: 7.4.1 fails to compile JDBC|
|Previous:||From: Chris Jeans||Date: 2004-01-24 07:12:19|
|Subject: port for interix|