Skip site navigation (1) Skip section navigation (2)

RE: Problem connecting to JDBC 7.0-1.2 driver

From: "B(dot)N(dot)V(dot) Raman" <raman(at)myself(dot)com>
To: "Brett W(dot) McCoy" <bmccoy(at)chapelperilous(dot)net>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: RE: Problem connecting to JDBC 7.0-1.2 driver
Date: 2001-03-30 17:09:31
Message-ID: NDBBJMJDNACBKJFDJCJEEEHGCOAA.raman@myself.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
I tried both methods:

1. Class.forName("postgresql.Driver"); (in the code)

&

2. omitting the above code and trying: java -Djdbc.drivers=postgresql.jar

Thanks,
Raman.

> From: Brett W. McCoy [mailto:bmccoy(at)chapelperilous(dot)net]
> On Fri, 30 Mar 2001, B.N.V. Raman wrote:
>
> > I've installed JDK 1.2.2 from RPM's into my Red Hat 7.0 System which has
> > Postgresql 7.0.2 installed.
> >
> > 1. I've copied the jdbc7.0-1.2.jar file to the postgresql.jar file.
> > 2. my classpath includes /usr/lib/pgsql/postgresql.jar
> > 3. Whenever i run a java program to connect, i get an SQLException: No
> > Driver Found.
> > 4. My postmaster is running with the -i option.
> >
> > What could be the problem??
>
> What's the code you are using to connect with?
>
> -- Brett


In response to

Responses

pgsql-jdbc by date

Next:From: Art McCreadyDate: 2001-03-30 19:53:23
Subject: Copy from stdin?????
Previous:From: B.N.V. RamanDate: 2001-03-30 15:14:25
Subject: Problem connecting to JDBC 7.0-1.2 driver

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group