Java software support for Db2 database products
You require the appropriate level of IBM® Software Development Kit (SDK) for Java™ to use Java-based tools and to create and run Java applications, including stored procedures and user-defined functions.
If the IBM SDK for Java is required by a component being installed and the SDK for Java is not already installed in that path, the SDK for Java will be installed if you use either the Db2 Setup wizard or a response file to install the product.
The SDK for Java is not installed with IBM Data Server Runtime Client or IBM Data Server Driver Package.
|Operating System Platform||SDK for Java level|
|Linux on x86||SDK 8|
|Linux on AMD64/EM64T||SDK 8|
|Linux on zSeries||SDK 8|
|Windows x86||SDK 8|
|Windows x64||SDK 8|
- The SDK for Java software can be downloaded
from the developerWorks® Web page at: http://www.ibm.com/developerworks/java/jdk/index.html . For a list of the supported
levels of the SDK for Java, see the table later in this
section entitled Db2 support for SDKs
for Java. Note: For Windows operating system platforms, use the IBM Development Package for Eclipse downloads.
- Db2 GUI tools only run on Linux on x86, Linux on AMD64/EM64T, Windows x86, and Windows x64.
- On Windows x86 and Linux on x86:
- the 32-bit SDK is installed
- 32-bit applications and Java external routines are supported
- On all supported platforms (except Windows x86, and Linux on x86):
- 32-bit applications are supported
- 32-bit Java external routines are not supported
- 64-bit applications and Java external routines are supported
Supported Java application development software
The following table lists the supported levels of the SDK for Java. The listed levels and forward-compatible later versions of the same levels are supported.
Because there are frequent SDK for Java fixes and updates, not all levels and versions have been tested. If your database application has problems that are related to the SDK for Java, try the next available version of your SDK for Java at the given level.
Versions of SDK for Java, other than IBM SDK, are supported only for building and running stand-alone Java applications. For building and running new Java stored procedures and user-defined functions, only the IBM SDK for Java that is included with the Db2 product is supported. For running Java stored procedures and user-defined functions that were built by prior Db2 releases, refer to Table 1, column "Java Stored Procedures and User Defined Functions" for details.
|Java applications that use JDBC 3.0 or earlier||Java applications that use JDBC 4.0 or earlier and JDBC 3.0 or earlier4||Java Stored Procedures and User Defined Functions||Db2 Graphical Tools|
|AIX||7 to 8||7 and 8||7 to 8 3||N/A|
|Linux on POWER®||7 to 82||7 and 82||7 to 8||N/A|
|Linux on x86||7 to 81,2||7 and 81,2||7 to 8||7 to 8|
|Linux on AMD64 and Intel EM64T processors||7 to 81,2||7 and 81||7 to 8||N/A|
|Linux on zSeries||7 to 82||7 and 82||7 to 8||N/A|
|Windows on x86||7 to 81||7 and 81||7 to 8||7 to 8|
|Windows on x64, for AMD64 and Intel EM64T processors||7 to 81||7 and 81||7 to 8||7 to 8|
- The same levels of the SDK for Java that are available from Oracle are supported for building and running stand-alone applications with the IBM Data Server Driver for JDBC and SQLJ. However, if you set the IBM Data Server Driver for JDBC and SQLJ property securityMechanism for a type of security that uses encryption, the SDK for Java must support the type of encryption that you use. For example, the SDK for Java that you use might support 256-bit AES (strong) encryption, but not 56-bit DES (weak) encryption. You can specify the encryption algorithm by setting the IBM Data Server Driver for JDBC and SQLJ property encryptionAlgorithm. To use 256-bit AES encryption, set encryptionAlgorithm to 2. When you use 256-bit AES encryption with the SDK for Java from Oracle, you might need to install the JCE Unlimited Strength Jurisdiction Policy File, which is available from Oracle.
- SDK for Java 7 support on Linux requires SDK for Java 6 SR3 or later.
- If SDK for Java 7 SR2 or later is used, set
- Java 7 is sufficient if you need to use JDBC 4.0 functions only.