Configuring the IBM MQ messaging provider with native libraries information
To connect to a IBM MQ queue manager or queue-sharing group in bindings mode, the IBM MQ messaging provider needs to know where to load native libraries from. This information is known as native path information. The way native path information is set depends on whether the connection is established in an application client or in an application server environment.
About this task
If you are running in a client environment, use launchClient to start a client application. In the system property MQ_INSTALL_ROOT enter the name of a directory that contains the IBM MQ native libraries, in a subdirectory of java/lib or java/lib64 depending on whether you are using 32 bit or 64 bit native libraries. For example, on Linux specify ./launchClient.sh myappclient.ear -CCDMQ_INSTALL_ROOT=/opt/mqm/.
If you are running in an application server environment, you can configure the IBM MQ messaging provider with native path information by using the command line, as described in WMQAdminCommands command group for the AdminTask object, or you can use the administrative console to complete the following steps:
![[AIX]](../images/aixlogo.gif)