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. 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. Start of changemqji.properties is located in the program installation directory for WebSphere MQ and to import it:
      1. Right-click your Java project in Eclipse.
      2. Select Import > File System.
      3. In the file selector pane, select mqji.properties, then click OK to import it.
      End of change
    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, mqjbnd05.dll or wmqjbnd.so) to your project. Start of changeTo add this to your project:
      1. Right-click your Java project in Eclipse.
      2. Select Import > File System.
      3. In the file selector pane, select the bindings shared library, then click OK to import it.
      End of change
  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
Notices | Trademarks | Downloads | Library | Support | Feedback

Copyright IBM Corporation 1999, 2009Copyright IBM Corporation 1999, 2009.
Last updated : 2009-01-07 15:21:49

ae33026_