Your message dated Mon, 16 Jul 2007 07:13:45 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#429846: Can't find org.postgresql.Driver after installation
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
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.

Best regards,
Gustaf


--- End Message ---
--- Begin Message ---
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

--- End Message ---
_______________________________________________
pkg-java-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-java-maintainers

Reply via email to