On Wed, Jun 20, 2007 at 09:50:31PM +0200, Michael Koch wrote: > On Wed, Jun 20, 2007 at 05:44:23PM +0200, Gustaf Räntilä wrote: > > Package: libpg-java > > Version: 8.2-504-1 > > > > After installation, you would assume that the driver is "installed", so > > that you can use it as described in all manuals: > > Class.forName("org.postgresql.Driver"); > > but this throws an exception: > > java.lang.ClassNotFoundException: org.postgresql.Driver > > > > I'm using postgres 8.1 and Sun Java SE 6.0, and, obviously, sid. > > You need to put /usr/share/java/postgresql.jar onto your classpath. This > jar contains the class org.postgresql.Driver. > > Please report back if this helps you.
As there was ne feedback from original reporter in 25 days and I think it was a user error I close this bug. Please reopen this bug if you think it still applies. Cheers, Michael -- .''`. | Michael Koch <[EMAIL PROTECTED]> : :' : | Free Java Developer <http://www.classpath.org> `. `' | `- | 1024D/BAC5 4B28 D436 95E6 F2E0 BD11 5923 A008 2763 483B