Loading jdbc6.5-1.2.jar via forName() - Mailing list pgsql-novice

From Wayne Johnson
Subject Loading jdbc6.5-1.2.jar via forName()
Date
Msg-id 3A32B781.511493A8@yahoo.com
Whole thread Raw
Responses Re: Loading jdbc6.5-1.2.jar via forName()  (Steve Waldman <swaldman@mchange.com>)
List pgsql-novice
I've installed postgresql-6.5 (client, server & jdbc) on my Linux
system.  I've copied the jdbc6.5-1.2.jar file to the directory where my
html and application class file is located.  When the java code calls
forName("postgresql.Driver"), it just stalls.  I even tried renaming
jdbc6.5-1.2.jar to postgresql.jar, but that didn't seem to help either.

If I extract the jar file into a postgresql directory, it seems to work.

How do I get forName to load from the jar file?

Thanks.


pgsql-novice by date:

Previous
From: Gérard TOURRES
Date:
Subject: Query optimisation
Next
From: Steve Waldman
Date:
Subject: Re: Loading jdbc6.5-1.2.jar via forName()