<p>Where can I find the redistributable version of the IBM DB2 Type 4 driver?
I suppose this is the driver I would use to connect from a Java app (on windows) to DB2 on the mainframe?</p>

[{'answer_id': 46759, 'author': 'J.T. Grimes', 'author_id': 1676, 'author_profile': 'https://Stackoverflow.com/users/1676', 'pm_score': 1, 'selected': False, 'text': '<p>If you\'re running on an AS/400 (or iSeries, or whatever the heck IBM is calling it these days), you\'ll probably want to get it from <a href="http://jt400.sourceforge.net/" rel="nofollow noreferrer">JTOpen</a>.  </p>\n\n<p>Their toolbox replaces the old Java Toolbox and includes the JDBC drivers.</p>\n'}, {'answer_id': 100484, 'author': 'Das', 'author_id': 17585, 'author_profile': 'https://Stackoverflow.com/users/17585', 'pm_score': 2, 'selected': False, 'text': '<p>You can get the drivers from the <a href="https://www14.software.ibm.com/webapp/iwm/web/preLogin.do?lang=en_US&amp;source=swg-idsjs11" rel="nofollow noreferrer">IBM site</a>. You will need to have IBM ID and password to login (which you can obtain <a href="https://www.ibm.com/account/profile/us/en?page=reg" rel="nofollow noreferrer">here</a>). Zip file is about 7 MBs, in contains DB2 9.5 JDBC (type 2/4) and SQLJ drivers. Type 4 drivers are in db2jcc4.jar.\nHowever, you won\'t be able to connect to mainframes with this driver if mainframe is running DB2 for z/OS. To do so, you need at least to purchase <a href="http://www.ibm.com/software/data/db2/db2connect/" rel="nofollow noreferrer">DB2 Connect</a> product, which will cost you about $500 minimum.</p>\n'}, {'answer_id': 150601, 'author': 'Tanktalus', 'author_id': 23512, 'author_profile': 'https://Stackoverflow.com/users/23512', 'pm_score': 3, 'selected': False, 'text': '<p><a href="http://www-01.ibm.com/support/docview.wss?rs=71&amp;uid=swg21288110" rel="noreferrer">IBM\'s Fix pack site</a> has the "IBM Data Server Driver for JDBC and SQLJ" which is nothing but the JDBC type 4 driver.  Though the page I pointed to above happens to be the windows page, it\'s the same type 4 driver for all platforms, as should be expected.</p>\n\n<p>I don\'t think any user/password is required.</p>\n'}, {'answer_id': 419401, 'author': 'paxdiablo', 'author_id': 14860, 'author_profile': 'https://Stackoverflow.com/users/14860', 'pm_score': 3, 'selected': False, 'text': "<p>You will not be able to connect to the mainframe with any redistributable JDBC driver. The driver pack consists of the actual type 4 driver (db2jcc.jar) and any number of license files of the form:</p>\n\n<pre><code> db2jcc_license_cisuz.jar\n</code></pre>\n\n<p>where the <code>cisuz</code> bit is variable, indicating the platforms that you're allowed to run on (iSeries, pSeries, System z, LUW and so on).</p>\n\n<p>You're only likely to get <code>cu</code> with any freely distributable pack. You need the <code>z</code> to access DB2 on the mainframe and that's jealously guarded so you'll need to purchase a specific edition of DB2 Connect to get it. I think both PE and EE, the personal and enterprise editions, have this licence file.</p>\n\n<p>Without that license file, the type 4 driver won't even <em>try</em> to talk to the server, you'll get an exception.</p>\n"}, {'answer_id': 6769299, 'author': 'Archimedes Trajano', 'author_id': 242042, 'author_profile': 'https://Stackoverflow.com/users/242042', 'pm_score': 0, 'selected': False, 'text': '<p>If I need any IBM JARs for DB2 or MQ, I usually just add it to the instructions that DB2 or MQ needs to be installed as a prerequisite along with a URL to download it.</p>\n\n<p>The same goes for Java and many other not easily redistributable products as well.</p>\n\n<p>This eliminates the need to worry about licensing issues as it would be on the onus of the user rather than the vendor to obtain the proper licenses.</p>\n'}, {'answer_id': 11693489, 'author': 'harmender', 'author_id': 1558460, 'author_profile': 'https://Stackoverflow.com/users/1558460', 'pm_score': 2, 'selected': False, 'text': '<p>There is no need to download the JDBC driver separately it is already shipped with your DB2 product.\nYou can easily find it at this location : <code>C:\\Program Files\\IBM\\SQLLIB\\java\\db2jcc.jar</code></p>\n\n<p><code>db2jcc.jar</code> is the driver name</p>\n'}]
['https://Stackoverflow.com/questions/46664', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/-1/']