Hello all,
I am having problem loading the DB2 driver with its license via my build script.
This is the error I’m getting:
com.ibm.db2.jcc.c.SqlException: [ibm][db2][jcc][10333][11649] No license was found. An appropriate license file db2jcc_license_*.jar must be provided in the CLASSPATH setting.
I am using the JDBC Type 4 which has two jar files, the db2jcc.jar and db2jcc_license_cu.jar
My build.properties file contain these settings:
db.driver=com.ibm.db2.jcc.DB2Driver
db.driver.path=C:/db2_jdbc/db2/db2jcc.jar
I’ve tried appending the license jar to the db.driver.path separated by semicolon and comma but it doesn’t work. Anything added added to it would cause it not to find the driver, resulting in the following error:
Class Not Found: JDBC driver com.ibm.db2.jcc.DB2Driver could not be loaded
I’ve also added the jar files to MyEclipse>DatabaseExplorer>Driver>IBM DB2 (Universal Driver)
I even added the path to the CLASSPATH environment variable but nothing seem to work.
I’m using WinXP Pro and MyEclipse 5.5
Any help would be greatly appreciated.
Thanks!
-Hung