Java software support for Db2 Connect
You require the appropriate level of IBM® Semeru Runtimes for Java to use Java-based tools and to create and run Java™ applications, including stored procedures and user-defined functions.
IBM Semeru 21 for Java
IBM has its own Java distribution, IBM Semeru Runtimes for Java. This runtime was originally named IBM SDK for Java and was created to run on all IBM devices and architectures. This functionality continues with IBM Semeru Runtimes for Java, which use the OpenJDK libraries to ensure compatibility with all other distributions. The latest supported version of this runtime is IBM Semeru 21.
If IBM Semeru 21 is required by a component that is being installed but the runtime is not already installed in that path, you can install the runtime by using either the Db2 Setup wizard or a response file to install the product.
IBM Semeru 21 is not installed with IBM Data Server Runtime Client or IBM Data Server Driver Package.
- AIX®
- Linux® on x64
- Linux on IBM Z
- Linux on POWER (ppc64le)
- Windows x64
- Apple Mac OS/X, when using the IBM Data Server Driver for JDBC and SQLJ.
- Db2® GUI tools only run on Linux x64 and Windows x64 systems.
- On all supported platforms, 64-bit applications and Java external routines are supported.
- In Db2 12.1 and later, the JDBC/SQLJ driver needs a minimum Java Runtime Engine (JRE) version 1.8. The JDBC/SQLJ driver supports the 4.3 spec APIs, provided that the JRE used is JRE9 and higher.
Supported Java application development software
The supported levels of IBM Semeru 21 for Java is 21.0.3. The forward-compatible versions at the same level are also supported.
Because there are frequent IBM Semeru 21 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 IBM Semeru 21 for Java at the given level.
For building and running new Java stored procedures and user-defined functions, run the IBM Semeru 21 for Java that is included with the Db2 product.