pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kris Jurka <books@ejurka.com>
To: yihuey <yihuey@pchome.com.tw>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Compiler 7.4 with--java Error on Redhad AS 2.4.21
Date: Sat, 10 Apr 2004 23:48:27 -0500 (EST)
Message-ID: <Pine.BSO.4.56.0404102346020.4974@leary.csoft.net> (raw)
In-Reply-To: <4069AE31.1000208@pchome.com.tw>
References: <4069AE31.1000208@pchome.com.tw>



On Wed, 31 Mar 2004, yihuey wrote:

> Hello:
> 
> I have the same question and environment.My Server never install old version postgreSQL.
> Pls tell me how to solve.
> 
> Hi,
> I am using linux redhat 3.0 and sun jsdk 1.4.2.
> I try to compile pg 7.4 --with-java to be able to get the new jdbc
> driver.
> After calling gmake I get this error:
> /pginst/postgresql-7.4/src/interfaces/jdbc/org/postgresql/jdbc3/Jdbc3Statement.java:28:
> error: Invalid checked exception class `java.sql.SQLException' in
> `throws' clause. The exception must be a subclass of an exception thrown
> by

This is due to redhat including an existing postgresql.jar file in the 
classpath or somewhere else in your environment.  To build a new version 
you need to remove this from you compile environment.  The other 
alternative is to simply download a prebuilt binary from 
http://jdbc.postgresql.org/download.html

Kris Jurka



view thread (2+ messages)

Message-ID: <Pine.BSO.4.56.0404102346020.4974@leary.csoft.net>
Permalink:  ../Pine.BSO.4.56.0404102346020.4974@leary.csoft.net/
Also on:    postgresql.org/message-id/Pine.BSO.4.56.0404102346020.4974@leary.csoft.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: books@ejurka.com, yihuey@pchome.com.tw
  Subject: Re: Compiler 7.4 with--java Error on Redhad AS 2.4.21
  In-Reply-To: <Pine.BSO.4.56.0404102346020.4974@leary.csoft.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

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