Running WebSphere MQ base Java applications

If you write an application (a class that contains a main() method), using either the client or the bindings mode, run your program using the Java(TM) interpreter. Use the command:

java -Djava.library.path=library_path MyClass
where library_path is the path to the WebSphere MQ Java libraries

(see The WebSphere MQ Java libraries).