Hi,
I am trying to write my first eclipse plugin and am accessing a DB2 db from within the plugin. I added the db2java.zip file in the Libraries for the java build path for this plugin. But when this statement is executed, it gives me a ClassNotFoundEx ception.
Class.forName(" COM.ibm.db2.jdb c.app.DB2Driver ");
The code is working just fine when I run it from outside the plugin, it does not give any exception and the DB access is working fine.
What do I do?
Neha.
I am trying to write my first eclipse plugin and am accessing a DB2 db from within the plugin. I added the db2java.zip file in the Libraries for the java build path for this plugin. But when this statement is executed, it gives me a ClassNotFoundEx ception.
Class.forName(" COM.ibm.db2.jdb c.app.DB2Driver ");
The code is working just fine when I run it from outside the plugin, it does not give any exception and the DB access is working fine.
What do I do?
Neha.
Comment