X-Original-To: pgsql-docs@postgresql.org Received: from spampd.localdomain (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C87A8474E42 for ; Tue, 22 Apr 2003 01:58:51 -0400 (EDT) Received: from MAIL.leftcoast.net (mail.leftcoast.net [204.50.27.10]) by postgresql.org (Postfix) with ESMTP id BFFE5475EFD for ; Tue, 22 Apr 2003 01:58:19 -0400 (EDT) Received: from [24.80.189.13] by MAIL.joot.com (GMS 8.01.3088/NT1366.01.4e10c57a) with ESMTP id vpmmclaa for pgsql-docs@postgresql.org; Mon, 21 Apr 2003 22:56:50 -0700 Message-ID: <3EA4DA05.5020804@joot.com> Date: Mon, 21 Apr 2003 22:58:29 -0700 From: Dave Jarvis User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4a) Gecko/20030401 X-Accept-Language: en-us, en MIME-Version: 1.0 To: pgsql-docs@postgresql.org Subject: Building PostgreSQL with Java Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-AntiSpam: Checked for restricted content by Gordano's AntiSpam Software X-Spam-Status: No, hits=-9.4 required=5.0 tests=BAYES_20,USER_AGENT_MOZILLA_UA autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) X-Archive-Number: 200304/44 X-Sequence-Number: 1770 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