Setting up the environment for Java routines
Before you can run Java routines, you need to set up a WLM environment and set Java environment variables.
Before you begin
- IBM Java Technology Edition, version 8 or later. The IBM® Data Server Driver for JDBC and SQLJ supports 31-bit or 64-bit Java routines. For more information, see Moving from 31-bit Java routines to 64-bit Java routines.
-
TCP/IP is required on the client and all database servers to which you connect.
- The 4.xx version
of the IBM Data Server Driver for JDBC and
SQLJ that
matches the Db2 for z/OS® version.
If you are migrating from a previous release of Db2 for z/OS, you need to install the corresponding version of the IBM Data Server Driver for JDBC and SQLJ.
About this task
The steps in this task are necessary for preparing and running Java routines.
If you plan to use IBM Db2 for z/OS Developer Extension to prepare and run your Java routines, see Deploying and running external Java and SQLJ stored procedures.
Procedure
To set up the environment for running Java routines, you need to perform these tasks: