I think you should do:
setenv CLASSPATH ${CLASSPATH}:/opt/local/pgsql/jdbc/postgresql.jar
Assume that PostgreSQL is installed in /opt/local. And then:
import java.sql.*;
Don't do
import postgresql.
It works with me.
Linh.
----
On Wed, 20 Jun 2001, Moses wrote:
> Hi all
> I need your help
>
> I did try to use the postgresql.jar  (jar tf ):
>
> import postgresql.fastpath;
>
> but the package does not exist.
>
> private void connectToDataBase(String User, String Password, String Url)
>  {
>   Statement stmt;
>    try
>    {
>    // Class.forName ("sun.jdbc.odbc.JdbcOdbcDriver");
>    // Class.forName ("imaginary.sql.iMsqlDriver");
>    Class.forName("org.postgresql.Driver");
>
> Does postgresql has this driver? what do I need?
>
> I'm looking forward to have your help.
>
>
> Best Regards,
> Moses (Mussie)
> ////////////////////////////////////////////////////////////////////////////
>                  YOUR BRAIN IS HUNGRY
>  Wireless COM Technology, News, and Opinion.
> ////////////////////////////////////////////////////////////////////////////
>
>