Re: PLS HELP in connecting with jdbc driver

From: "Paul Sorenson" <pauls(at)classware(dot)com(dot)au>
To: "Rohit Johry" <rohit(dot)johry(at)esteltelecom(dot)com>, <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: PLS HELP in connecting with jdbc driver
Date: 2003-04-02 06:17:46
Message-ID: 001901c2f8df$9463a930$c48b0fcb@home.classware.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Rohit,

You should consider removing wild cards from your classpath. Also, it is unusual to explicitly reference jars from the JRE/JDK in your classpath. You might also want to limit yourself to a single postgres jar file in your classpath.

----- Original Message -----
From: Rohit Johry
To: pgsql-jdbc(at)postgresql(dot)org
Sent: Thursday, April 03, 2003 3:33 PM
Subject: [JDBC] PLS HELP in connecting with jdbc driver

Hello,

I am a new user using the Postgre-sql for the first time please help me in establishing the connection between JDBC and POSTGRE.

Having the CLASSPATH:
:/usr/share/pgsql/jdbc7.2dev-1.2.jar:/usr/lib/pgsql/pg72jdbc2.jar:/usr/java/j2sdk1.4.1_01/lib/*.jar

I got ERROR as
Sub : java.lang.ClassNotFoundException: org.postgresql:Driver
Rohit : java.sql.SQLException: No suitable driver

I am not professional in Linux.
Hoping you will replay me very soon.

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2003-04-02 09:36:45 Re: prepared statements and sequences
Previous Message Ryan Wexler 2003-04-02 05:43:07 prepared statements and sequences