JDBC: Class.forName() Fails - Mailing list pgsql-interfaces

From Guoben Li
Subject JDBC: Class.forName() Fails
Date
Msg-id 395CCE33.618D8AF7@netscape.com
Whole thread Raw
Responses RE: JDBC: Class.forName() Fails
List pgsql-interfaces
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





pgsql-interfaces by date:

Previous
From: "Byron Nikolaidis"
Date:
Subject: Re: ODBC and Visual C++
Next
From: "Joe Shevland"
Date:
Subject: RE: JDBC: Class.forName() Fails