aspose file tools*
The moose likes JDBC and the fly likes DB2 connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

DB2 connection

Hrvoje Canzek
Greenhorn

Joined: Sep 18, 2002
Posts: 16
i use the following code in my application:
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver");
con = DriverManager.getConnection("jdbc b2 bName","user","passwd");
my classpath :
set classpath=.;c:\SQLLIB\java\db2java.zip;
c:\SQLLIB\lib;c:\SQLLIB\java\runtime.zip;
c:\SQLLIB\java\sqlj.zip
Please help me i do not know what to do
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

I think this is supposed to be a part of the thread here, so I've copied it across and I am going to close this thread.
Dave
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: DB2 connection
 
Similar Threads
error 500
Problem in rmic - stub generation
package oracle.jdbc.driver does not exist
PATH and CLASSPATH
HELP 2 !!!!!!!!!