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 cannot connect to db2 v8 trial version with jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "cannot connect to db2 v8 trial version with jdbc" Watch "cannot connect to db2 v8 trial version with jdbc" New topic
Author

cannot connect to db2 v8 trial version with jdbc

Kelvin Mak
Ranch Hand

Joined: Oct 04, 2002
Posts: 51
I am using DB2 V8.1 trial version, and try to connect with JDBC. My code as following.

It always complain "No suitable driver", I check my reference about the driver string, it is ok. Is it any limit in the db2 trail vesion? Any one meet this situation? Why it cannot use the jdbc driver? thx in advance.


SCJP1.4
Michael Zalewski
Ranch Hand

Joined: Apr 23, 2002
Posts: 168
Doesn't look like you are registering the driver. Only loading the class. Try
 
jQuery in Action, 2nd edition
 
subject: cannot connect to db2 v8 trial version with jdbc