From: Guoben Li <guoben@netscape.com>
To: pgsql-interfaces@postgresql.org
Cc: guoben@netscape.com
Subject: JDBC: Class.forName() Fails
Date: Fri, 30 Jun 2000 09:43:31 -0700
Message-ID: <395CCE33.618D8AF7@netscape.com> (raw)
Hi,
I am new to PostgreSQL. I have compiled PostgreSQL7.0
and its JDBC Driver, put postgresql.jar in CLASSPATH and
checked pg_hba.conf file then created a testdb with a couple
of tables.
When I tried to run Class.forName("postgresql.Driver");
It threw a ClassNotFoundException. There was not much
information in e.getMessage(), just "postgresql.Driver".
Has anyone encountered this problem or does someone
know possible cause? Please help. I appreciate it.
My platform is Solaris 2.6 with Java 1.1.8. I complied
JDBC driver using `make jdbc1 jar`.
Thanks,
Guoben Li
Netscape Communications
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: guoben@netscape.com
Subject: Re: JDBC: Class.forName() Fails
In-Reply-To: <395CCE33.618D8AF7@netscape.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox