File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Informix and JDBC Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Informix and JDBC" Watch "Informix and JDBC" New topic

Informix and JDBC

Varadan Anandanpillai

Joined: Jul 27, 2001
Posts: 2
Iam trying to connect to Informix - IDS 2000 server from the Java example program which I got, when I downloaded the JDBC driver from Informix website. But when I try to run the program using - java demo1 'jdbc:informix-sqli://varadan:1526:informixserver=ol_varadan;user=informix;password=informix' , Iam getting error 'No suitable driver found' as an sql exception. The Class.forName() command executes properly, bit the createStatement command gives the sqlException. I tried with 1533 instead of 1526 in the commandline argument, but that also didn't help. There is no problem with the userd and passwd too as Iam able to connect to server using this set from dbaccess. The ifxjdbc.jar is placed in c:\jdbc\lib folder and c:\jdbc\lib\ifxjdbc.jar is included in classpath. The database server and the example are both residing in my laptop. Any suggestions/insights would be greatly appreciated.
[This message has been edited by Varadan Anandanpillai (edited September 01, 2001).]
I agree. Here's the link:
subject: Informix and JDBC
It's not a secret anymore!