Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group