Configuring the Eclipse environment

To configure the CLASSPATH:

  1. Select File > New > Project > Java > Java Project. Click Next.
  2. Enter the project name. Click Next.
  3. In the Libraries tab, click Add External Jars....
  4. Navigate to, and add, the WebSphere MQ JARs to the build path:
    • com.ibm.mq.jar
    • jms.jar
    • jta.jar
    • connector.jar
    1. Import mqii.properties into your project to suppress the "Message Catalog not found" error that the WebSphere MQ classes generate.
    2. 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 or wmqjbnd.so) to your project.
  5. Navigate to and add the Configuration Manager Proxy (CMP) JAR to the build path (ConfigManagerProxy.jar).
  6. Click OK.
Related tasks
Configuring an environment for developing and running Configuration Manager Proxy applications
Configuring the Windows command-line environment
Configuring Linux, UNIX, and z/OS command-line environments