pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Guillaume Cottenceau <gc@mnc.ch>
To: Dominik Heller <Dominik.Heller@gmx.net>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Getting started with jdbc3 and eclipse
Date: Wed, 17 Oct 2007 16:06:14 +0200
Message-ID: <87y7e1sund.fsf@mnc.ch> (raw)
In-Reply-To: <20071017135658.306680@gmx.net>
References: <20071017135658.306680@gmx.net>

"Dominik Heller" <Dominik.Heller 'at' gmx.net> writes:

> Hi All,
> I am about to get started with postgresql 8.2 and eclipse. the installation of the postgres DB was successful and now my problem is how to find the driver in eclipse. I have set the classpath correctly and I also added the library to the eclipse project (although I know the is not even neccessary).
>
> So now by trying to establish a connection with the following code:
>
> Class.forName("org.postgresql.Driver");
> 			db = DriverManager.getConnection("localhost:5432", "postgres", "*****");
>
> I get this exception:
>
> java.sql.SQLException: No suitable driver

http://www.google.com/search?q=jdbc+postgresql+No+suitable+driver

-- 
Guillaume Cottenceau, MNC Mobile News Channel SA, an Alcatel-Lucent Company
Av. de la Gare 10, 1003 Lausanne, Switzerland - direct +41 21 317 50 36



view thread (4+ messages)  latest in thread

Message-ID: <87y7e1sund.fsf@mnc.ch>
Permalink:  ../87y7e1sund.fsf@mnc.ch/
Also on:    postgresql.org/message-id/87y7e1sund.fsf@mnc.ch

 · 

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: gc@mnc.ch, Dominik.Heller@gmx.net
  Subject: Re: Getting started with jdbc3 and eclipse
  In-Reply-To: <87y7e1sund.fsf@mnc.ch>
  References: <20071017135658.306680@gmx.net> <87y7e1sund.fsf@mnc.ch>

* 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