elfinlaley
Programmer
Hi,
The code below is from the DB2 Java samples, and it is blowing up on the Class.forName("COM.ibm.... line. The package directory does not exist. Does anyone have a real life example of how this line should appear? I have the DB2 Enterprise version 7 installed on my Win2k box.
Thanks
class DB2Appl {
static {
try {
// register the driver with DriverManager
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver"
;
} catch (Exception e) {
e.printStackTrace();
}
}
The code below is from the DB2 Java samples, and it is blowing up on the Class.forName("COM.ibm.... line. The package directory does not exist. Does anyone have a real life example of how this line should appear? I have the DB2 Enterprise version 7 installed on my Win2k box.
Thanks
class DB2Appl {
static {
try {
// register the driver with DriverManager
Class.forName("COM.ibm.db2.jdbc.app.DB2Driver"
} catch (Exception e) {
e.printStackTrace();
}
}