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.
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.
Don't get me started about those stupid light bulbs.