Where do I download JDBC drivers for DB2 that are compatible with JDK 1.5? They seem to be very elusive and I hit many dead-ends at IBM's website. I managed to find versions of the driver bundled w.
Active3 years, 8 months ago
Where do I download JDBC drivers for DB2 that are compatible with JDK 1.5? They seem to be very elusive and I hit many dead-ends at IBM's website. I managed to find versions of the driver bundled with some tools such as IBM Data Studio. Unfortunately, these versions either target a JVM too modern (JDK 1.6, leading to class version errors) or too ancient (JDK 1.2, leading to known bugs when run on JDK 1.5).
Adam PaynterAdam Paynter38.3k24 gold badges134 silver badges157 bronze badges
4 Answers
I know its late but i recently ran into this situation. After wasting entire day I finally found the solution. I am suprised that I got this info on oracle's website whereas this seems nowhere to be found on IBM's website.
If you want to use JDBC drivers for DB2 that are compatible with JDK 1.5 or 1.4 , you need to use the jar
Mustafa sabirMustafa sabirdb2jcc.jar
, which is available in SQLLIB/java/
folder of your db2 installation.3,3721 gold badge10 silver badges21 bronze badges
java acmjava acm
Free Download Db2jcc.jar
Right here: http://jt400.sourceforge.net/
This is what I use for that exact purpose.
EDIT: Usage Examples (minus exceptions):
Hope that helps!
BenColeBenCole1,6992 gold badges14 silver badges26 bronze badges
Download Db2jcc.jar For Linux
you can download and install db2client and looking for - db2jcc.jar - db2jcc_license_cisuz.jar - db2jcc_license_cu.jar - and etc.at C:Program Files (x86)IBMSQLLIBjava
Fuangwith S.Fuangwith S.3,6297 gold badges32 silver badges39 bronze badges