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

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search for
  Advanced Search

Re: CLASS EXCEPTION org.postgresql.Driver



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



Home | Main Index | Thread Index

Privacy Policy | PostgreSQL Archives hosted by Command Prompt, Inc. | Designed by tinysofa
Copyright © 1996 – 2008 PostgreSQL Global Development Group