i have developed an application using java and db2.i have made the class files.everything is working fine.now i have made a jar files from the class files.i am executing the jar file using the command "java -jar pis.jar",where pis is the name of jar file.when it is showing an exception "
COM.ibm.db2.jdbc.app.DB2Driver" at the time i am executing the jar file.
i have use that line in the program in this way---
try{
Class.forName("
COM.ibm.db2.jdbc.app.DB2Driver");
con=DriverManager.getConnection("jdbc:db2

AMPLE", "db2admin","db2admin");
}
catch(Exception e4){
System.out.println(e4.getMessage());}
}
the form is coming and all non-database related forms are working but all the forms related to db2 are not working.when i am using the class files that time the database related all things are working.
please help.