This week's book giveaway is in the General Computing forum.
We're giving away four copies of Learning Regular Expressions and have Ben Forta on-line!
See this thread for details.
Win a copy of Learning Regular Expressions this week in the General Computing forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Knute Snortum
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Ganesh Patekar
  • Stephan van Hulst
  • Pete Letkeman
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Ron McLeod
  • Vijitha Kumara

Informix and JDBC  RSS feed

 
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).]
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!