From: | Peter Mount <petermount(at)maidstone(dot)gov(dot)uk> |
---|---|
To: | "'Manish Vig'" <sk(at)pobox(dot)com>, pgsql-interfaces(at)postgresql(dot)org |
Subject: | RE: Jdbc Trouble |
Date: | 2000-11-28 07:52:13 |
Message-ID: | 1B3D5E532D18D311861A00600865478CF1B5BF@exchange1.nt.maidstone.gov.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
Answers prefixed with PM:
--
Peter Mount
Enterprise Support Officer, Maidstone Borough Council
Email: petermount(at)maidstone(dot)gov(dot)uk
WWW: http://www.maidstone.gov.uk
All views expressed within this email are not the views of Maidstone Borough
Council
-----Original Message-----
From: Manish Vig [mailto:sk(at)pobox(dot)com]
Sent: Friday, November 24, 2000 9:23 PM
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] Jdbc Trouble
Dear Sir,
I am trying to access postgres through a jdbc connection but i get
NoSuitable river at RunTime.I had put the jar files after extracting them
in jdk1.2/jre/lib/ext directory.
Do I need to rename the Jarfile?
PM: No, the naming of the jar file is irrelavent in this case. Are you
loading the driver with Class.forName("org.postgresql.Driver"); ?
Where do i put the jar files that i get by extracting the driver provided.
on download iget two jar file named 7.0-1.1 and 7.0-1.2
and not one jar file named postgresql.jar
PM: Those are the two versions of the driver, one for JDK1.1 the other for
JDK1.2. You need to put the 7.0-1.2 jar file into your lib/ext directory.
Get rid of the 7.0-1.1. If you want, you can rename 7.0-1.2 as
postgresql.jar
Please Help
With Best Regards
Manish
From | Date | Subject | |
---|---|---|---|
Next Message | Bryan Bateman | 2000-11-28 07:58:47 | pgAdmin problems |
Previous Message | Andrew Dellinger | 2000-11-28 04:16:45 | postgreSQL and javascript |