X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (neptune.hub.org [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id F1443D1CAF6 for ; Mon, 26 Jan 2004 14:40:04 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 69192-08 for ; Mon, 26 Jan 2004 10:39:37 -0400 (AST) Received: from hotmail.com (law11-f27.law11.hotmail.com [64.4.17.27]) by svr1.postgresql.org (Postfix) with ESMTP id 58FD9D1B4CE for ; Mon, 26 Jan 2004 10:39:32 -0400 (AST) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Mon, 26 Jan 2004 06:39:35 -0800 Received: from 130.104.224.2 by lw11fd.law11.hotmail.msn.com with HTTP; Mon, 26 Jan 2004 14:39:35 GMT X-Originating-IP: [130.104.224.2] X-Originating-Email: [wamywas@hotmail.com] X-Sender: wamywas@hotmail.com From: "sandrine wamy wapet" To: pgsql-jdbc@postgresql.org Subject: Connection problem Date: Mon, 26 Jan 2004 14:39:35 +0000 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Message-ID: X-OriginalArrivalTime: 26 Jan 2004 14:39:35.0745 (UTC) FILETIME=[38115B10:01C3E41A] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200401/239 X-Sequence-Number: 9196 Hi everybody, I'm using Postgresql 7.2 release and the JDK 1.4.1. I think I must use the pg72jdbc2.jar. However, I have a problem when I try to connect the database. When running my code, I have "NoClassDefFoundError" generated by the method forName. I verify my classpath contains the path to the driver (/opt/java/jre/lib/pg72jdbc2.jar). If somebody can help me... Thanks sww _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.msn.fr