Setting the PATH variable

To use any Java language application described in this book, including the JMS postcard application, you must have a Java Runtime Environment (JRE) installed. For further information about supported JREs, see Checking prerequisite hardware and software in this book. To ensure that WebSphere® MQ installation can use the installed JRE, ensure that the location of the JRE is set in your PATH environment variable.

See the documentation accompanying your JRE or JDK to find out where the JRE or JDK will be installed to.

On Linux POWER platform, the 32-bit and 64-bit JDKs are typically installed to different locations, for example, the 32-bit JDK is located in /opt/IBMJava2-ppc-142 and the 64-bit JDK is located in /opt/IBMJava2-ppc64-142. Ensure that the PATH variable is correctly set, to use the JMS Postcard application you need to use a 32-bit JDK. You can check the version installed using the following command:
java -version

For further information about using a JDK see Checking prerequisite hardware and software.