Loading jdbc6.5-1.2.jar via forName()

From: Wayne Johnson <wdtj(at)yahoo(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Loading jdbc6.5-1.2.jar via forName()
Date: 2000-12-09 22:51:45
Message-ID: 3A32B781.511493A8@yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Stu Coates 2000-12-09 22:57:58 7.1beta1 JDBC Nested cursor problem
Previous Message mlw 2000-12-09 22:30:46 Re: OK, does anyone have any better ideas?