Skip site navigation (1) Skip section navigation (2)

Building PostgreSQL with Java

From: Dave Jarvis <dave(at)joot(dot)com>
To: pgsql-docs(at)postgresql(dot)org
Subject: Building PostgreSQL with Java
Date: 2003-04-22 05:58:29
Message-ID: 3EA4DA05.5020804@joot.com (view raw or flat)
Thread:
Lists: pgsql-docs
Hi,

I've only skimmed through the documentation, and in that skimming I did 
not see a very important piece of information:

If you are upgrading to a new version of PostgreSQL on a machine that 
already has the JDBC drivers for PostgreSQL available, be sure to REMOVE 
THE OLD JAR FILE before attempting to compile PostgreSQL.  This means 
both CLASSPATH and the jre/lib/ext directory. Otherwise the ant build 
process will use the classes floating around in the postgresql.jar file, 
resulting in a new jar file that lacks many crucial classes.

Intuitively, I would have thought the compilation process would have 
forced all files to be recompiled, regardless of whatever is sitting on 
the classpath (or within $JAVA_HOME/jre/lib/ext).  Boy, was I wrong! 
Would have saved me at least twenty minutes of Google'ing.

Sincerely,
Dave Jarvis


pgsql-docs by date

Next:From: Ian BarwickDate: 2003-04-26 19:25:23
Subject: Update for German FAQ
Previous:From: Peter EisentrautDate: 2003-04-18 00:22:37
Subject: Re: Is there a PDF version of the PostgreSQL 7.3.2

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group