--
Peter T Mount [EMAIL PROTECTED], [EMAIL PROTECTED]
Homepage: http://www.retep.org.uk Contact details: http://petermount.com
PostgreSQL JDBC: http://www.retep.org.uk/postgres/
Java PDF Generator: http://www.retep.org.uk/pdf/
----- Original Message -----
From: "Jackson Ching" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, August 25, 2000 2:32 AM
Subject: [GENERAL] JDBC
> Hi,
>
> I've installed PostgreSQL 7.02 RPM Version with it's JDBC package RPM, now
i'm trying to run my java application that connects to postgresql. driver:
postgresql.Driver and connection: jdbc:postgresql:mydb
As of 7.0, you should be using org.postgresql.Driver The connection string
looks ok.
>
> I got errors saying class not found. i tried to check for the file
postgresql.jar and finder.jar ... i can't find them...
> what i found from the rpm of jdbc is jdbc7.0-1.2.jar and jdbc7.0-1.1.jar
and the previous version jdbc6.5-1.2.jar and jdbc6.5-1.2.jar
>
> What should i do? please help me. Thanks
The connection string is wrong. Other things to check are:
If you have JDK1.1.x installed make sure that jdbc7.0-1.1.jar is installed
in the classpath. For JDK1.2.x or 1.3.x have jdbc7.0-1.2.jar in the
classpath.
Ignore references to postgresql.jar, as it's the default filename when
building, but the distributions have the other names to differenciate
between the JDK versions.
I don't know why you were looking for finder.jar - that was a project of
mine that never got released. It had nothing to do with postgresql other
than using JDBC.
Peter
>
> jack
>