Hi all, I just downloaded DB2 UDB version 8 trial version & tried to access the database (I used the following code to register and load the driver), but I get an error that package COM.ibm.db2.jdbc.app doesn't exist. I have added the db2jcc.jar and sqlj.zip files in my classpath. DriverManager.registerDriver(new COM.ibm.db2.jdbc.app.DB2Driver()); Class db2Driver = Class.forName("COM.ibm.db2.jdbc.app.DB2Driver"); Could anybody who has worked on DB2 can give me some pointers about this error? I tried to find the class file DB2Driver myself in all the library files that came with DB2, but I didn't find the one required :-( I found only one DB2Driver class file in db2cc.jar which is in package com.ibm.db2.jcc Any help is greatly appreciated. Thanks, Vidya.
FYI - default user and pass are "dba", "dba" and "db2admin", "db2admin" for DB2...
Joined: Apr 22, 2003
Thank you Jeanne and Dana, it works fine now. I am using command line and using JDBC to access the database. I was trying with the URL jdbc b2://localhost:50000/Vidya","dba","dba" Then it gave me that error. I was under the impression that I should specify the port number also as we do for Oracle... Thanks again. Vidya.
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com