For information on writing your own WebSphere MQ JMS programs, see Chapter 10, Writing WebSphere MQ JMS programs.
WebSphere MQ JMS includes a utility file, runjms (runjms.bat on Windows NT), to help you to run the supplied programs and programs that you have written.
The utility provides default locations for the trace and log files, and enables you to add any application runtime parameters that your application needs. The supplied script assumes that the environment variable MQ_JAVA_INSTALL_PATH is set to the directory in which the WebSphere MQ JMS is installed. The script also assumes that the subdirectories trace and log within the directory pointed to by MQ_JAVA_DATA_PATH are used for trace and log output, respectively.
Use the following command to run your application:
runjms <classname of application> [application-specific arguments]
For information on writing WebSphere MQ JMS applications and applets, see Part 3, Programming with WebSphere MQ JMS.