I have Websphere Studio Application Developer and have a simple MQ application that runs fine when debugging within the IDE. I have generated a JAR file and when I run use the Java command ex: java -classpath C:\connector.jar;C:\com.ibm.mq.jar -jar connect.jar I get the following error
Exception in thread "main" java.lang.NoClassDefFoundError: com/ibm/mq/MQException
It appears that the java loader cannot locate the MQ jar files. I listed the jar files specifically in the command line and also have them listed in the systems CLASSPATH as well. I have deployed other Jar files and called them using this method with no issues. Is there something that I am missing with the MQ jar files ?