Re: Unable to download/compile postgresql.jar for PG 7.3 with JDK 1.4.1

From: Daniel Bruce Lynes <dlynes(at)shaw(dot)ca>
To: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Unable to download/compile postgresql.jar for PG 7.3 with JDK 1.4.1
Date: 2003-01-04 00:24:26
Message-ID: 200301031624.26496.dlynes@shaw.ca
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Friday 03 January 2003 06:27, Rich Cullingford wrote about Re: [JDBC]
Unable to download/compile postgresql.jar for PG 7.3 with JDK 1.4.1:

> There was indeed a botch in the version of pg I was working with. So I
> obtained the source tree for pg 7.3 from our local cvs repository,
> checked JAVA_HOME, and ran "make" in the jdbc subdir. I got the
> following errors, most of which seem to be missing symbols from files
> (like Connection.java and ResultSet.java) that appear in the J2EE
> version of the source, but not the JDK 1.4 one.
>
> I'm sure that this is yet another configuration problem, but I can't see
> what it is.

Actually, I had the exact same problem, when trying to compile it that way.
However, when compiling it the way the installation instruction suggest you
do it, it works just fine. i.e. run ./configure --with-jdbc(?), and then run
make ; make install

It'll build the postgresql.jar file just fine then, without any errors, for
JDBC3. Just make sure your JAVA_HOME is pointing to the correct directory,
as well as your ANT_HOME, and PATH environment for your Ant bin and JDK bin
directories.

Make sure you're using ANT 1.5.0 or higher, too. 1.5.1 works just fine.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Jim Downing 2003-01-05 17:00:39 Idle in Transaction
Previous Message Hilmar Lapp 2003-01-03 22:22:49 Re: join over 12 tables takes 3 secs to plan