X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 9D46A9FB419 for ; Thu, 13 Jul 2006 11:58:25 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 02826-06 for ; Thu, 13 Jul 2006 11:58:15 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.logix-tt.com (mail.logix-tt.com [212.211.145.186]) by postgresql.org (Postfix) with ESMTP id 2B9189FB1D2 for ; Thu, 13 Jul 2006 11:58:15 -0300 (ADT) Received: from kingfisher.intern.logix-tt.com (p549D1318.dip0.t-ipconnect.de [84.157.19.24]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logix-tt.com (Postfix) with ESMTP id B0CF965874; Thu, 13 Jul 2006 16:59:57 +0200 (CEST) Received: from [127.0.0.1] (localhost [127.0.0.1]) by kingfisher.intern.logix-tt.com (Postfix) with ESMTP id A5427181C1C91; Thu, 13 Jul 2006 16:58:36 +0200 (CEST) Message-ID: <44B65F9C.40706@logix-tt.com> Date: Thu, 13 Jul 2006 16:58:36 +0200 From: Markus Schaber Organization: Logical Tracking and Tracing International AG, Switzerland User-Agent: Thunderbird 1.5.0.2 (X11/20060516) MIME-Version: 1.0 To: "Folorunsho, Abayomi" Cc: pgsql-jdbc@postgresql.org Subject: Re: CLASS EXCEPTION org.postgresql.Driver References: <30C61690D24519478F42E1A8CDA2E2777A2EE8@Mailserver3.cenbank.net> In-Reply-To: <30C61690D24519478F42E1A8CDA2E2777A2EE8@Mailserver3.cenbank.net> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/57 X-Sequence-Number: 15483 Hi, Abayomi, Folorunsho, Abayomi wrote: > As advised, I copied postgresql-8.1-405.jdbc3.jar from C:\Program > Files\PostgreSQL\8.1\jdbc to my class path and the name of the file > included in my environment variable definition: > classpath\postgresql-8.1-405.jdbc3.jar; > when this did not work, I added the whole jdbc folder to my class path: > C:\Program Files\PostgreSQL\8.1\jdbc Try giving the full path of the jar file to the -cp command line argument to your JVM. Alternatively, for most cases it works if you copy the jdbc.jar into the lib/ext/ directory of your JRE/JDK. HTH, Markus -- Markus Schaber | Logical Tracking&Tracing International AG Dipl. Inf. | Software Development GIS Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org