pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mads N. Vestergaard <mnv@timmy.dk>
To: MAIGNAN Luc <LMAIGNAN@fininfo.fr>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Problem loading driver
Date: Wed, 10 May 2006 14:04:21 +0200
Message-ID: <4461D6C5.9040903@timmy.dk> (raw)
In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602C147E9@exc2003.int.fininfo.g rp>
References: <6CF6C2B015865B44B7752C9420D0D71602C147E9@exc2003.int.fininfo.gr p>

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 : 
>
> 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èces jointes (ci-après le "message") sont établis à l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le détruire et d'en avertir immédiatement l'expéditeur. Toute utilisation de ce message non conforme à sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) décline(nt) toute responsabilité au titre de ce message, dans l'hypothèse ou il aurait été modifié, altéré, falsifié ou encore édité ou diffusé sans autorisation.
> -----------------------------------------------------
> This message and any attachments (the "message") is intended
> solely for the addressees and is confidential. If you receive this 
> message in error, please delete it and immediately notify the 
> sender. Any use not in accord with its purpose, any dissemination 
> or disclosure, either whole or partial, is prohibited except formal 
> approval. Neither FININFO (nor any of its subsidiaries or affiliates) 
> shall be liable for the message if modified, altered, falsified, edited 
> 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 your
>        message can get through to the mailing list cleanly
>   

-- 

Mads N. Vestergaard   |  Standard Sys Admin Answer #112: 
http://rwxr-xr-x.dk   |   "Well, it works for me."






view thread (4+ messages)  latest in thread

Message-ID: <4461D6C5.9040903@timmy.dk>
Permalink:  ../4461D6C5.9040903@timmy.dk/
Also on:    postgresql.org/message-id/4461D6C5.9040903@timmy.dk

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: mnv@timmy.dk, LMAIGNAN@fininfo.fr
  Subject: Re: Problem loading driver
  In-Reply-To: <4461D6C5.9040903@timmy.dk>
  References: <4461D6C5.9040903@timmy.dk>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox