Navigate to, and add, the WebSphere® MQ JARs
to the build path:
com.ibm.mq.jar
jms.jar
jta.jar
connector.jar
If you are using WebSphere MQ Version
5.3, import mqji.properties into your project to suppress
the "Message Catalog not found" error that the WebSphere MQ classes
generate. mqji.properties is located in the program
installation directory for WebSphere MQ and to
import it:
Right-click your Java project in Eclipse.
Select Import > File System.
In the file selector pane, select mqji.properties,
then click OK to import it.
If you want to connect to a Configuration
Manager that
is running on the local machine and you want to use the WebSphere MQ Java
Bindings to set up this connection, you must also add the bindings shared
library (for example, mqjbnd02.dll, mqjbnd05.dll or wmqjbnd.so)
to your project.To add this to your project:
Right-click your Java project in Eclipse.
Select Import > File System.
In the file selector pane, select the bindings shared library, then click OK to
import it.
Navigate to and add the Configuration Manager
Proxy (CMP) JAR
to the build path (ConfigManagerProxy.jar).