Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Informix and JDBC

 
Varadan Anandanpillai
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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).]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic