JDBC Problem - Mailing list pgsql-interfaces

From tony
Subject JDBC Problem
Date
Msg-id 004801c04fdd$208de230$32fea8c0@tonydesktop
Whole thread Raw
In response to Re: OT: Heterogenous networks  (Joachim Achtzehnter <joachim@kraut.ca>)
Responses Re: JDBC Problem
List 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!



pgsql-interfaces by date:

Previous
From: "Ross J. Reedstrom"
Date:
Subject: Re: OT: Heterogenous networks
Next
From: Frank Joerdens
Date:
Subject: Re: [HACKERS] Re: DBD::Pg installation seems to fail with 7.1 libs