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

cygwin (JDBC driver) installation

From: "Sarada" <sarada_akkineni(at)hotmail(dot)com>
To: <pgsql-cygwin(at)postgresql(dot)org>
Subject: cygwin (JDBC driver) installation
Date: 2004-08-16 20:25:02
Message-ID: BAY8-DAV42vZTc4h62e0001cdcf@hotmail.com (view raw or flat)
Thread:
Lists: pgsql-cygwin
Hi,

 

 

I installed cygwin on windows XP

I am trying to access db using java

I read that cygwin comes with JDBC driver, I included the class path of the
java jar file (cygwin/usr/shar/postgresql/java.jar) in the class path

 

When I tried to run the java program :

 

java.sql.SQLException: No suitable driver

      at java.sql.DriverManager.getConnection(DriverManager.java:532)

      at java.sql.DriverManager.getConnection(DriverManager.java:171)

      at da.main(da.java:53)

 

 

How can I check if I have the JDBC driver installed properly?

 

 

Can some one please help me?

Please provide me with some information.

Thank you

pgsql-cygwin by date

Next:From: Jose OliveiraDate: 2004-08-16 20:26:05
Subject: edit command
Previous:From: Shachar ShemeshDate: 2004-08-16 11:00:01
Subject: Compiling postgresq on cygwin

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