"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
myproblem is how to find the driver in eclipse. I have set the classpath correctly and I also added the library to the
eclipseproject (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