Connecting Tech Pros Worldwide Forums | Help | Site Map

Beginner help needed - error connecting DB2-9.1 with RAD7.0

Newbie
 
Join Date: Nov 2008
Posts: 1
#1: Nov 2 '08
i am unable to write a simple java code for accessing db2 from rad.i always get an error saying the class com.ibm.db2.jcc.DB2Driver cant not found. I have successfully connected rad and db2 as a guided activity, but i cant "use" that connection anywhere....i dont know how to.
i am trying to make a POJO, and not use jsp to access the database.
please help me.
thanks.
Newbie
 
Join Date: Aug 2008
Posts: 28
#2: Nov 3 '08

re: Beginner help needed - error connecting DB2-9.1 with RAD7.0


Hi ,

Make sure that you had selected two licence file


"D:\program files\ibm\sqllib\java\db2jcc.jar"

"D:\program files\ibm\sqllib\java\db2jcc_license_cu"


Regards
Padmanaban
DB2 Associate
Reply