Re: Failed Connection (again) - Mailing list pgsql-jdbc

From George Koras
Subject Re: Failed Connection (again)
Date
Msg-id 00e601c0f4aa$3af89080$1a49e98f@cres.gr
Whole thread Raw
In response to Failed Connection (again)  (Gonzo Programming <GonzoRock--at--Excite--dot--com@mta6.snfc21.pbi.net>)
List pgsql-jdbc
Forgive me for asking the obvious question, but does your CLASSPATH include
the pathname
of any of your .jar file copies? Should be the full pathname, not just the
path.

----- Original Message -----
From: Gonzo Programming
<GonzoRock--at--Excite--dot--com@mta5.snfc21.pbi.net>

>  4a) I have renamed jdb7.0-1.1.jar to postgresql.jar and then copied that
> .jar file into as many places as seems reasonable and not so
reasonable(yes
> I have copies all over the place at present), yet still get this error at
> run time.
>
> H:\JavaLessons\ch18\fig18_24>java TableDisplayPG1
> Failed to load JDBC/ODBC driver.
> java.lang.ClassNotFoundException: org.postgresql.Driver
>      at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>         and about 10 more lines of errors...




pgsql-jdbc by date:

Previous
From: Gonzo Programming
Date:
Subject: Re: Failed Connection (again)
Next
From: Nelson Ferreira Jr
Date:
Subject: Trouble with 7.1.2 JDBC driver