File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC 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
Bookmark "Informix and JDBC" Watch "Informix and JDBC" New topic
Author

Informix and JDBC

Varadan Anandanpillai
Greenhorn

Joined: Jul 27, 2001
Posts: 2
Hi,
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.
Thanks,
Varadan.
[This message has been edited by Varadan Anandanpillai (edited September 01, 2001).]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Informix and JDBC