Customizing the version of Java on z/OS

How you check the version of Java in your enterprise, and how you change the version, if necessary.

This task is part of the larger task of customizing your z/OS® environment.

WebSphere® Event Broker supports two versions of Java, version 1.4.2 and version Java™ 5(SR2). (Version 5 is also known as Java 1.5.) You can customize your environment to use either version.

  1. Enter the following command from an OMVS window to check the current version of Java:
    java -fullversion
    You receive a response similar to the following:
    java version "1.4.2"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2)
    Classic VM (build 1.4.2 J2RE 1.4.2 IBM z/OS Persistent Reusable VM build cm142-20040917
     (JIT enabled: jitc))
    The response in this example confirms that Java 1.4.2 is the current version. which is the minimum required level for this platform.
  2. Start of changeIf you want to set, or change, the current Java version, edit JAVAHOME in the profile for the component (BIPBPROF for a broker, BIPUPROF for a User Name Server, BIPCPROF for a Configuration Manager).

    Because the version of Java used is defined in the component profile, you can specify a different version for each component.

    For further details about component profiles, see Creating WebSphere Event Broker components on z/OS.

    End of change
  3. Start of changeRun BIPGEN to incorporate any changes that you make.End of change
  4. Start of changeRestart the component to pick up changes to the ENVFILE.End of change
Related tasks
Customizing the z/OS environment
Creating WebSphere Event Broker components on z/OS
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009. All Rights Reserved.
Last updated : 2009-01-07 15:40:07

ae14800_