From: tony <tony@uickarate.com>
To: pgsql-interfaces <pgsql-interfaces@postgresql.org>
Subject: JDBC Problem
Date: Thu, 16 Nov 2000 09:54:30 -0500
Message-ID: <004801c04fdd$208de230$32fea8c0@tonydesktop> (raw)
References: <Pine.LNX.4.21.0011150939520.9613-100000@penguin.kraut.ca>
<001f01c04f2f$67974d00$330a0a0a@6014cwpza006>
<3A1397C7.209D1CE5@comune.modena.it>
<20001116094006.B7129@rice.edu>
I have a problem with loading the JDBC Driver.
So far, my java code does nothing but to load the driver, and
it gives SQLException with message "No suitable driver".
I made the postgresql.jar with
>make jdbc2
(because I am using jdk1.3)
and I used
>jar tf postgresql.jar
to make sure that the driver was included.
(postgresql/Driver.class)
My CLASSPATH is following:
:/usr/local/lib/postgresql.jar:/usr/local/jdk1.3/bin/:/home/tony/classes/
I am trying to load the driver by doing
>Class.forName("postgresql.Driver");
This is under linux platform. Please let me know what could be
wrong if you see anything wrong.
Thanks!
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tony@uickarate.com
Subject: Re: JDBC Problem
In-Reply-To: <004801c04fdd$208de230$32fea8c0@tonydesktop>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox