Verify the installation of MQ Java

 

  1. To ensure that the product has loaded correctly, issue the Display Software Resources (DSPSFWRSC) command and check that the licensed program 5724L26 is listed. If you have installed the base and the optional samples, you should see:
                 Resource
                  ID        Option  Feature  Description
                  5724L26   *BASE    5050    WebSphere MQ Classes for Java
                  5724L26   1        5050    WebSphere MQ Classes for Java - Samples

  2. Press F11, while viewing the Display Software Resources screen, and you will see the library and version number of the products installed:
                  Resource                    Feature
                  ID        Option  Feature   Type    Library    Release
                  5724L26   *BASE    5050     *CODE    QMQMJAVA  V6R0M0
                  5724L26   1        5050     *CODE    QMQMJAVA  V6R0M0

  3. Check what versions you have installed by using the following commands:

    WebSphere MQ Classes for Java™:

        java com.ibm.mq.jms.MQJMSLevel
    WebSphere MQ Classes for Java Message Service:
        java com.ibm.mq.MQJavaLevel

    For V6.0 both will report:

                  Version: 6.0.0.0

    The command uses the Java classes, and hence as well as reporting the version, it also performs some verification that the classes are installed and working.

  4. Refer to the WebSphere MQ Using Java book for full details of verification of both:

    • WebSphere MQ classes for Java

    • WebSphere MQ classes for Java Message Service.

 

Parent topic:

WebSphere MQ Java for iSeries