Rohan,
Get the jar files from where your MQ Server is installed. The JAR files are available in the MQ_HOME/java/lib directory.
Below is a listing of jar files you need depending on the version of MQ you are using:
WebSphere MQ File Requirements
Copy the WebSphere MQ JAR files to the LISA_HOME/lib directory or define the LISA_POST_CLASSPATH variable. Do not copy the files to the LISA_HOME/hotDeploy directory.
Note: If the operating system is a Japanese version, use the files that are listed for WebSphere MQ 7.
The following JAR files are required for WebSphere MQ 5.2:
■ com.ibm.mqjms.jar
■ com.ibm.mqbind.jar
■ com.ibm.mq.pcf.jar
■ com.ibm.mq.jar
■ connector.jar
The following JAR files are required for WebSphere MQ 6:
■ com.ibm.mq.jar
■ com.ibm.mq.pcf.jar
■ com.ibm.mqjms.jar
■ connector.jar
■ dhbcore.jar
The following JAR files are required for WebSphere MQ 7:
■ com.ibm.mq.commonservices.jar
■ com.ibm.mq.headers.jar
■ com.ibm.mq.jar
■ com.ibm.mq.jmqi.jar
■ com.ibm.mq.pcf.jar
■ com.ibm.mqjms.jar
■ connector.jar
■ dhbcore.jar
Hope this helps.
Regards,
Marcy