Re: Problem with JDBC: no suitable driver

From: Dave Cramer <Dave(at)micro-automation(dot)net>
To: Konstantinos Spyropoulos <el97010(at)mail(dot)ntua(dot)gr>
Cc: "pgsql-jdbc(at)postgresql(dot)org" <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Problem with JDBC: no suitable driver
Date: 2002-06-28 10:39:58
Message-ID: 1025260799.1805.312.camel@inspiron.cramers
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Is the postgres jar actually there? Something else you can try is
placing the postgres jar in the JAVA_HOME/lib/ext directory, and not
using a classpath

Dave
On Fri, 2002-06-28 at 06:24, Konstantinos Spyropoulos wrote:
> I've tried it and had the same "No suitable driver" exception. I also tried defining the CLASSPATH as system variable in Windows,
> but cygwin didn't convert the path to unix-format.
>
> > I believe your CLASSPATH setting is wrong. It must be >Windows path and
> > semicolon separated.
> >
> > Maybe
> > 'C:\cygwin\usr\share\postgresql\java\postgresql.jar;D:\PROGRAMMING/J2SDK1.4.0/LIB'
> > is right if you installed cygwin on 'C:\cygwin\'
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-06-28 13:46:19 Re: Connection Exception
Previous Message Konstantinos Spyropoulos 2002-06-28 10:24:49 Re: Problem with JDBC: no suitable driver