From a command prompt, set up your classpath to refer to the MQe class files. These are available in the Java™ directory, in which you installed the MQe product.
Ensure that your shell has the ability to create and modify the ./QueueManagers directory on your system. If it does not have this ability, change the source of the examples.helloworld programs, such that they refer to an accessible directory, and re-compile the java code.
Invoke the Configure program to create the queue manager. The syntax depends on the Java Virtual Machine (JVM) you use. The IBM® JVM is invoked using the "java" command, for example java examples.helloworld.Configure. This creates the queue manager on disk.
Run the java examples.helloworld.Run hello world program. This puts a message to a local queue, gets the message back and displays part of it.
You can now destroy the queue manager on the disk using java examples.helloworld.Unconfigure.