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
- Java 2
Technology Edition, V5 or later.
The IBM® Data Server Driver for JDBC and SQLJ supports 31-bit or 64-bit Java routines. For 64-bit Java routines, you need Java 2 Technology Edition, V6 or later.
- TCP/IP
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 Optim™ Development Studio to prepare and run your Java routines, see Developing Db2 for z/OS stored procedures (IBM Data Studio)
Procedure
To set up the environment for running Java routines, you need to perform these tasks: