At startup time, the Message Queue broker checks to make sure it has access to the required Java runtime version (JDK/JRE 1.5). There are a number of ways you can configure or set the JRE used by the broker. These are shown in the following list, in order of precedence:
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 |