IBM® Software Development Kit (SDK) for Java™ 5.0.12.4 is required for 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 is 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.
The IBM SDK for Java 6.0.9.1 is required for
DB2 V9.7 Fix
Pack 5 and later fix packs. This SDK is installed by the
DB2 product.
The following table lists the installed SDK for Java levels for
DB2 products
according to operating system platform for earlier fix packs.
Table 1. Version of SDK for Java packaged with DB2 V9.7 before
Fix Pack 5Operating system
platform |
Java version installed |
AIX® |
For
Fix Pack 1 and earlier: SDK 6 For Fix Pack 2, 3, and 4: SDK 6 Service Release
7
|
HP-UX for Itanium-based
systems |
HP JDK for JSE HP-UX 11i platform,
adapted by IBM for IBM Software, Version 6 |
Linux on x86 |
SDK 6 Service Release 3 |
Linux on AMD64/EM64T |
SDK 6 Service Release 3 |
Linux on System z® |
SDK 6 Service Release 3 |
Linux on POWER® |
For Fix Pack 1 and earlier: SDK 6 Service Release
3 For
Fix Pack 2, 3, and 4: SDK 6 Service Release 7
|
Solaris Operating System |
IBM 64-bit
SDK for Solaris, Java Technology Edition, Version
6 |
Windows x86 |
SDK 6 Service Release 3 |
Windows x64 |
SDK 6 Service Release 3 |
Note: - 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 for Linux, UNIX, and Windows support
for SDKs for Java. 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
- The JDK on
the HP-UX platforms
is maintained by HP which IBM licenses to redistribute. This JDK is a port conducted
by HP of the
Oracle Hotspot JDK and
the support of international character sets consequently follows that
of the Oracle Hotspot JDK,
not JDK developed
by IBM. Some of the code conversion
tables such as CP290 are not supported on the HP-UX platform.
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 the SDK for Java that are not provided IBM are only supported 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 for Linux, UNIX, and Windows product
is supported. For running Java stored
procedures and user-defined functions that were built by previous DB2 releases,
refer to Table 1, column "Java Stored
Procedures and User Defined Functions" for details.
Table 2. DB2 for Linux, UNIX, and Windows supported
levels of SDKs for JavaOperating system |
Java applications
using JDBC driver db2java.zip or db2jcc.jar |
Java applications
using JDBC driver db2jcc4.jar8 |
Java Stored
Procedures and User Defined Functions |
DB2 graphical
tools |
AIX |
1.4.2 to 77 |
6 or 7 |
1.4.26 to 75,7 |
|
HP-UX for Itanium-based systems |
1.4.2 to 71,7 |
71 |
1.4.26 to 77 |
|
Linux on POWER |
1.4.2 to 73,4,7,7 |
6 or 73,4 |
1.4.26 to 77 |
|
Linux on
x86 |
1.4.2 to 72,3,4,7 |
6 or 72,3,4 |
1.4.26 to 77 |
5 to 7 |
Linux on
AMD64 and Intel EM64T processors |
1.4.2 to 72,3,4,7 |
6 or 72,3,4 |
1.4.26 to 77 |
|
Linux on zSeries |
1.4.2 to 73,4,7 |
6 or 73,4 |
1.4.26 to 77 |
|
Solaris operating system |
1.4.2 to 72,7 |
6 or 72 |
1.4.26 to 77 |
|
Windows on
x86 |
1.4.2 to 72,7 |
6 or 72 |
1.4.26 to 77 |
5 to 7 |
Windows on
x64, for AMD64 and Intel EM64T
processors |
1.4.2 to 72,7 |
6 or 72 |
1.4.26 to 77 |
5 to 7 |
Note:
- The same levels of the SDK for Java that are available from Hewlett-Packard
are supported for building and running stand-alone client applications
that run under the IBM Data Server
Driver for JDBC and SQLJ.
- 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.
- A minimum level of SDK for Java 1.4.2 SR6 is required for SUSE Linux Enterprise Server (SLES) 10. A minimum
level of SDK for Java 1.4.2
SR7 is required for Red Hat Enterprise Linux (RHEL)
5.
- SDK for Java 6
support on Linux requires SDK
for Java 6 SR3 or later.
- If SDK for Java 6
SR2 or later is used, set DB2LIBPATH=java_home/jre/lib/ppc64.
- Support for Java stored procedures and user-defined functions
built by IBM SDK for Java 1.4.2 has been deprecated in
Version 9.7 and might be removed in a future release. IBM SDK for Java 1.4.2
has an End of Service date of September 2011. It is recommended to
remove SDK for Java 1.4.2 dependency
well before this date. Removing this dependency can be done by rebuilding Java stored procedures and user-defined
functions with the SDK for Java included
in DB2 Version
9.1, DB2 Version
9.5, or DB2 Version
9.7.
- Use
of DECFLOAT requires the SDK for Java Version
5 (1.5) or later. For more information, see Data
types that map to database data types in Java applications.
- Java 6 is sufficient if you need to
use JDBC 4.0 functions only. Java 7 is required if you need to use
JDBC 4.1 functions.