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

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: (view raw, whole thread or download thread mbox)
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.


Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU!

In response to

pgsql-jdbc by date

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

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