Pass in the JDK or JRE using either the imqbrokerd -javahome or -jrehome command line options, respectively. (If both are passed in, the last one on the command line will take precedence.)
Set the JDK or JRE in the IMQ_JAVAHOME environment variable.
Let the broker use the installed JDK/JRE. The broker will pick up the latest version JDK/JRE installed on the system (greater than 1.4 ).
To find out which JDK/JRE the broker is using, start the broker with the following command:
imqbrokerd -verbose |