This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Use Drivers -> New Driver. Add -> Select jars for IBM DB2 driver (db2jcc.jar, db2jcc_license_cu.jar). In the New Driver dialog, the driver class is filled in correctly (com.ibm.db2.jcc.DB2Driver) but the URL says "Apache Derby (Net)", which is clearly wrong.
Increasing to P3 because DB2 is a supported database.
*** Issue 97671 has been marked as a duplicate of this issue. ***
In 6.1 trunk, I downloaded the DB2 JDBC driver from http://www-306.ibm.com/software/data/db2/ad/deploy.html and registered it, and it came up fine, named as "DB2 JDBC" You can also get a DB2 JDBC driver *specifically* for Apache Derby at http://www.ibm.com/developerworks/db2/downloads/jcc/ But I don't think this is supported any more, because (a) the page is dated 2004, (b) IBM no longer supports Cloudscape and (c) what I get is a bunch of Linux rpms and no jar files that I can determine. I have sent an email to Susan Cline over at the Cloudscape team to find out what is up, but I think this is no longer an issue. Marking as incomplete for now, waiting on info from IBM.
Update from IBM, still trying to figure out what's up "Hi David, Whoa. It's definitely not there. I've been out of the Cloudscape / Derby loop for quite some time. I'm asking Kathey and Stan if they know where it is. I did a bit of a search and can't find anything. I'll let you know when they find it. Thanks, Susan"
Closing, we've got no information from IBM Derby team, and the standard IBM DB2 driver works fine.