JDBC Problem

From: "tony" <tony(at)uickarate(dot)com>
To: "pgsql-interfaces" <pgsql-interfaces(at)postgresql(dot)org>
Subject: JDBC Problem
Date: 2000-11-16 14:54:30
Message-ID: 004801c04fdd$208de230$32fea8c0@tonydesktop
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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!

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message tony 2000-11-16 15:23:41 Re: JDBC Problem
Previous Message Adam Lang 2000-11-16 13:55:18 Re: OT: Heterogenous networks