Re: CLASS EXCEPTION org.postgresql.Driver

From: Markus Schaber <schabi(at)logix-tt(dot)com>
To: "Folorunsho, Abayomi" <afolorunsho(at)cenbank(dot)org>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: CLASS EXCEPTION org.postgresql.Driver
Date: 2006-07-13 14:58:36
Message-ID: 44B65F9C.40706@logix-tt.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message System Consult 2006-07-13 15:45:05 password authentication failure
Previous Message Ricardo Vaz Mannrich 2006-07-13 13:50:41 PostgreSQL array vs. JDBC vs. Hibernate