Re: JDBC - Mailing list pgsql-general

From Peter Mount
Subject Re: JDBC
Date
Msg-id 01a101c00df0$54916220$2516989e@maidstone.gov.uk
Whole thread Raw
In response to JDBC  ("Jackson Ching" <jching@imvi.com.ph>)
List pgsql-general
--
Peter T Mount  peter@retep.org.uk, me@petermount.com
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" <jching@imvi.com.ph>
To: <pgsql-general@postgresql.org>
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
>


pgsql-general by date:

Previous
From: "Ryan Williams"
Date:
Subject: Re: FW: Count & Distinct
Next
From: "Peter Mount"
Date:
Subject: Re: No Suitable Driver