Manually checking the information in the WebSphere MQ JAR files
Alternatively, you can check a specific JAR installed as part of WebSphere MQ to find out the version information. The JAR to check is shown below:
WebSphere MQ classes for Java: com.ibm.mq.jar
WebSphere MQ classes for JMS : com.ibm.mqjms.jar
Both of these JARs are located in the directory MQ_INSTALLATION_PATH/java/lib.
Once the JARs have been located, follow the procedure below:
1) Unjar the appropriate JAR using one of the commands shown:
WebSphere MQ classes for Java:
#jar -xvf com.ibm.mq.jar
WebSphere MQ classes for JMS:
#jar -xvf com.ibm.mqjms.jar
2) Enter the uncompressed jar directory. This will contain a subdirectory called META-INF, which has a file in it called MANIFEST.MF.
3) Open this file, and look for a line similar to the ones shown below. These lines indicate which version of the WebSphere MQ classes for Java or classes for JMS are being used by your application:
WebSphere MQ classes for Java - com.ibm.mq.jar
Specification-Title: WebSphere MQ classes for Java
Specification-Version: 7.1.0.0
WebSphere MQ classes for JMS - com.ibm.mqjms.jar
Implementation-Title: WebSphere MQ classes for Java Message Service
Implementation-Version: 7.1.0.0 - k000-L111005.1
Alternatively, you can check a specific JAR installed as part of WebSphere MQ to find out the version information. The JAR to check is shown below:
WebSphere MQ classes for Java: com.ibm.mq.jar
WebSphere MQ classes for JMS : com.ibm.mqjms.jar
Both of these JARs are located in the directory MQ_INSTALLATION_PATH/java/lib.
Once the JARs have been located, follow the procedure below:
1) Unjar the appropriate JAR using one of the commands shown:
WebSphere MQ classes for Java:
#jar -xvf com.ibm.mq.jar
WebSphere MQ classes for JMS:
#jar -xvf com.ibm.mqjms.jar
2) Enter the uncompressed jar directory. This will contain a subdirectory called META-INF, which has a file in it called MANIFEST.MF.
3) Open this file, and look for a line similar to the ones shown below. These lines indicate which version of the WebSphere MQ classes for Java or classes for JMS are being used by your application:
WebSphere MQ classes for Java - com.ibm.mq.jar
Specification-Title: WebSphere MQ classes for Java
Specification-Version: 7.1.0.0
WebSphere MQ classes for JMS - com.ibm.mqjms.jar
Implementation-Title: WebSphere MQ classes for Java Message Service
Implementation-Version: 7.1.0.0 - k000-L111005.1