From: | Oliver Jowett <oliver(at)opencloud(dot)com> |
---|---|
To: | Peter Cook <ttpcook(at)hotmail(dot)com> |
Cc: | pgsql-jdbc(at)postgresql(dot)org |
Subject: | Re: Still baffled by a CONNECTion problem |
Date: | 2005-10-08 09:47:14 |
Message-ID: | 434795A2.3080606@opencloud.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-jdbc |
Peter Cook wrote:
> catch (ClassNotFoundException cnfe)
> {
> System.out.println("ClassNotFoundException.");
> }
> }
>
> The output from this code is as follows:
> Classpath = C:\Eclipse\Workspace\Test
> Classpath = C:\Eclipse\Workspace\Test;C:\Program
> Files\PostgreSQL\8.0\jdbc\postgresql-8.0-311.jdbc3.jar
> Drivers = C:\Program Files\PostgreSQL\8.0\jdbc
> DriverDir is a directory
> Driver is a file
>
> So:
> - for some unknown reason my Eclipse editor has reset my CLASSPATH
> - but despite this I am able to programmatically adjust the CLASSPATH
> property to suit
> - Java recognized the directory where I have installed the JAR file as a
> valid directory and is able to locate the relevant driver file
>
> WHY WON’T IT LOAD the DRIVER?????
Your sample output did not include the ClassNotFoundException output, so
it seems to me that the driver actually loaded fine?
-O
From | Date | Subject | |
---|---|---|---|
Next Message | Joost Kraaijeveld | 2005-10-10 05:22:03 | Exception in Boolean to int2 conversion in xwiki?? |
Previous Message | Dave Cramer | 2005-10-08 08:11:56 | Re: Still baffled by a CONNECTion problem |