Check the version of Java™ in your enterprise, and change it, if necessary.
This task is part of the larger
task of customizing your z/OS® environment.
For
information about the levels of Java that WebSphere® Message
Broker supports, see WebSphere Message
Broker Requirements. The 64 bit version of Java is required.
To
check the current version of Java in
a broker component, complete the following steps.
- Change to the bin directory
in which you installed your Java product.
For example, if Java is
installed in /usr/lpp/java, change to the /usr/lpp/java/bin directory,
and type ./java -fullversion.
You receive the following response, or a response
with similar content:java version "1.6.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0)
Classic VM (build 1.6.0 J2RE 1.6.0 IBM z/OS Persistent Reusable VM build cm142-20040917
(JIT enabled: jitc))
The response in this example confirms
that Java 1.6.0 is the current
version, which is the minimum level required for this platform.
- If you want to set, or change, the current Java version, edit JAVAHOME in
the broker profile (BIPBPROF).
For
further details about the broker profile, see Creating a broker on WebSphere Message Broker for z/OS.
- Run BIPGEN to re-create the
broker ENVFILE and any execution group specific ENVFILEs
- Restart the broker to pick up changes to the ENVFILE.