X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 40740D1C92D for ; Mon, 4 Aug 2003 21:56:47 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 52601-05 for ; Mon, 4 Aug 2003 18:55:32 -0300 (ADT) Received: from mxrelay.ptc.com (poster.ptc.com [12.11.148.30]) by svr1.postgresql.org (Postfix) with ESMTP id 47DADD1C518 for ; Mon, 4 Aug 2003 18:56:36 -0300 (ADT) Received: from HQ-EXFE2.ptcnet.ptc.com (localhost [127.0.0.1]) by mxrelay.ptc.com (8.9.0/8.9.0) with ESMTP id RAA05353; Mon, 4 Aug 2003 17:56:33 -0400 (EDT) Received: from hq-mail1.ptcnet.ptc.com ([132.253.201.69]) by HQ-EXFE2.ptcnet.ptc.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 4 Aug 2003 17:56:25 -0400 Received: from ptc.com ([132.253.96.61]) by hq-mail1.ptcnet.ptc.com with Microsoft SMTPSVC(5.0.2195.5329); Mon, 4 Aug 2003 17:55:32 -0400 Message-ID: <3F2ED654.3000505@ptc.com> Date: Mon, 04 Aug 2003 17:55:32 -0400 From: Erik Price User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3) Gecko/20030312 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ripon Al Wasim Cc: pgsql-jdbc@postgresql.org Subject: Re: Connection problem References: <20030804063719.39549.qmail@web14005.mail.yahoo.com> In-Reply-To: <20030804063719.39549.qmail@web14005.mail.yahoo.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 04 Aug 2003 21:55:32.0352 (UTC) FILETIME=[20549800:01C35AD3] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200308/37 X-Sequence-Number: 7876 Ripon Al Wasim wrote: > The code is compile well. But here is a runtime problem. The prolem is: > > Could not load database driver :org.postgresql.Driver Note that the PostgreSQL driver JAR file must be in your $CLASSPATH or %CLASSPATH%. This means not just in a directory that is in your CLASSPATH (like with package directories or class files), but the CLASSPATH must actually explicitly list the location of the PostgreSQL driver JAR file. Erik