From: | "Peter Mount" <peter(at)retep(dot)org(dot)uk> |
---|---|
To: | "Jackson Ching" <jching(at)imvi(dot)com(dot)ph>, <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: JDBC |
Date: | 2000-08-24 17:02:39 |
Message-ID: | 01a101c00df0$54916220$2516989e@maidstone.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
--
Peter T Mount peter(at)retep(dot)org(dot)uk, me(at)petermount(dot)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(at)imvi(dot)com(dot)ph>
To: <pgsql-general(at)postgresql(dot)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
>
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Mount | 2000-08-24 17:23:11 | Re: No Suitable Driver |
Previous Message | Roderick A. Anderson | 2000-08-24 16:05:36 | Re: Importing into Postgres from a csv file |