Received: from ns.crystaldonuts.com ([38.194.228.45]) by mail.postgresql.org (8.11.1/8.11.1) with SMTP id eAGFuHs75808 for ; Thu, 16 Nov 2000 10:56:17 -0500 (EST) (envelope-from tony@uickarate.com) Received: (qmail 21140 invoked from network); 16 Nov 2000 15:54:47 -0000 Received: from unknown (HELO tonydesktop) (64.148.169.10) by 38.194.228.45 with SMTP; 16 Nov 2000 15:54:47 -0000 Message-ID: <004801c04fdd$208de230$32fea8c0@tonydesktop> From: "tony" To: "pgsql-interfaces" References: <001f01c04f2f$67974d00$330a0a0a@6014cwpza006> <3A1397C7.209D1CE5@comune.modena.it> <20001116094006.B7129@rice.edu> Subject: JDBC Problem Date: Thu, 16 Nov 2000 09:54:30 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200011/177 X-Sequence-Number: 213 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!