Thread: cygwin (JDBC driver) installation

cygwin (JDBC driver) installation

From
"Sarada"
Date:

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