X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id E14B89FA2FA for ; Wed, 10 May 2006 09:08:16 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 83347-08 for ; Wed, 10 May 2006 09:08:10 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from mail.jay.net (mail.jay.net [81.19.224.84]) by postgresql.org (Postfix) with ESMTP id 175A89FA1B0 for ; Wed, 10 May 2006 09:08:09 -0300 (ADT) Received: (qmail 4101 invoked by uid 509); 10 May 2006 12:08:07 -0000 Received: from 81.7.181.42 by mail.jay.net (envelope-from , uid 502) with qmail-scanner-1.24st (clamdscan: 0.87.1/635. spamassassin: 3.1.1 perlscan: 1.24st. Clear:RC:1(81.7.181.42):. Processed in 0.471918 secs); 10 May 2006 12:08:07 -0000 Received: from unknown (HELO server002.befree.dk) ([81.7.181.42]) (envelope-sender ) by mail.jay.net (qmail-ldap-1.03) with SMTP for ; 10 May 2006 12:08:06 -0000 Received: from [192.168.1.12] ([80.62.40.30]RDNS failed) by server002.befree.dk with InterScan Messaging Security Suite; Wed, 10 May 2006 14:08:00 +0200 Message-ID: <4461D6C5.9040903@timmy.dk> Date: Wed, 10 May 2006 14:04:21 +0200 From: "Mads N. Vestergaard" User-Agent: Thunderbird 1.5.0.2 (X11/20060504) MIME-Version: 1.0 To: MAIGNAN Luc CC: pgsql-jdbc@postgresql.org Subject: Re: Problem loading driver References: <6CF6C2B015865B44B7752C9420D0D71602C147E9@exc2003.int.fininfo.gr p> In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602C147E9@exc2003.int.fininfo.g rp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-imss-version: 2.038 X-imss-result: Passed X-imss-approveListMatch: *@timmy.dk X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200605/25 X-Sequence-Number: 15153 Hi Maignan, How do you run your program? Have you tried with the -cp commandline parameter? MAIGNAN Luc wrote: > I try to load the jdbc driver by the following code :=20 > > Class.forName("org.postgresql.Driver"); > > > but I raise a ClassNotFoundException. > > But my CLASSPATH contains the postgresql-8.1-405.jdbc3.jar > > > Any ideas ? > > Best regards > > > ********************************************************************* > Ce message et toutes les pi=E8ces jointes (ci-apr=E8s le "message") son= t =E9tablis =E0 l'intention exclusive de ses destinataires et sont confid= entiels. Si vous recevez ce message par erreur, merci de le d=E9truire et= d'en avertir imm=E9diatement l'exp=E9diteur. Toute utilisation de ce mes= sage non conforme =E0 sa destination, modification, diffusion ou toute pu= blication, totale ou partielle, est interdite, sauf autorisation expresse= =2EFININFO (et ses filiales) d=E9cline(nt) toute responsabilit=E9 au titr= e de ce message, dans l'hypoth=E8se ou il aurait =E9t=E9 modifi=E9, alt=E9= r=E9, falsifi=E9 ou encore =E9dit=E9 ou diffus=E9 sans autorisation. > ----------------------------------------------------- > This message and any attachments (the "message") is intended > solely for the addressees and is confidential. If you receive this=20 > message in error, please delete it and immediately notify the=20 > sender. Any use not in accord with its purpose, any dissemination=20 > or disclosure, either whole or partial, is prohibited except formal=20 > approval. Neither FININFO (nor any of its subsidiaries or affiliates)=20 > shall be liable for the message if modified, altered, falsified, edited= =20 > or diffused without authorization. ************************************= ********************************** > > ---------------------------(end of broadcast)--------------------------= - > TIP 1: if posting/reading through Usenet, please send an appropriate > subscribe-nomail command to majordomo@postgresql.org so that you= r > message can get through to the mailing list cleanly > =20 --=20 Mads N. Vestergaard | Standard Sys Admin Answer #112:=20 http://rwxr-xr-x.dk | "Well, it works for me."