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 only 31-bit Java routines.
- TCP/IP
TCP/IP is required on the client and all database servers to which you connect.
- The 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 ask 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: