Package com.ibm.mq

Class MQJavaLevel

java.lang.Object
com.ibm.mq.jmqi.JmqiObject
com.ibm.mq.MQJavaLevel

public class MQJavaLevel extends com.ibm.mq.jmqi.JmqiObject
Displays information about the currently installed version of IBM MQ Classes for Java.

Add this class to the CLASSPATH, and run it using the command java com.ibm.mq.MQJavaLevel. You can modify the output with the following parameters:

-b
basic format (no titles)
-f n
fields to display, where n is one, or a combination of, the following digits:
  • 1 - Name
  • 2 - Version
  • 4 - level
  • 8 - BuildType
  • 16 - Jar location
-h
hidden location (report 'built-in')

You can add these numbers together (for example, '3' displays both the Name and Version fields). If -f is not specified, the default is to display all fields.

  • Field Summary

    Fields inherited from class com.ibm.mq.jmqi.JmqiObject

    COMP_JM, COMP_JN, COMP_JO
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Methods inherited from class com.ibm.mq.jmqi.JmqiObject

    getJmqiEnvironment

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MQJavaLevel

      public MQJavaLevel()
      Default constructor