Re: Still baffled by a CONNECTion problem - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Still baffled by a CONNECTion problem
Date
Msg-id 434795A2.3080606@opencloud.com
Whole thread Raw
In response to Still baffled by a CONNECTion problem  ("Peter Cook" <ttpcook@hotmail.com>)
List 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

pgsql-jdbc by date:

Previous
From: Dave Cramer
Date:
Subject: Re: Still baffled by a CONNECTion problem
Next
From: Joost Kraaijeveld
Date:
Subject: Exception in Boolean to int2 conversion in xwiki??