Kbase 20032: SonicMQ: How To Use a JRE Other Than The Default On WinNT
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  3/29/2001 |
|
SUMMARY:
This solution applies to SonicMQ versions 2000.x and 3.x, and explains
how to use a JRE other than the one installed automatically under the
SonicMQ install directory on Windows NT and Windows 2000.
SOLUTION:
To use a JRE of your choosing, follow these steps:
1) Install a JRE compliant with Progress SonicMQ's
documented requirements (see References below).
2) Modify the SONICMQ_JRE and JRE_CLASSPATH settings
in startbr.bat, explorer.bat, admin.bat, and SonicMQ.bat
(used for running the samples). The original settings are:
set SONICMQ_JRE=<SonicMQ install path>\java\bin\jre.exe
set JRE_CLASSPATH=<SonicMQ install path>\java\lib\rt.jar
They should be changed to:
set SONICMQ_JRE=<New JRE install path>\bin\<new JRE executable>
set JRE_CLASSPATH=<New JRE install path>\lib\rt.jar
If you have a JDK installed, you may use java.exe as your
executable. In this case, you would use:
set SONICMQ_JRE=<New JDK install path>\bin\java.exe
and ONE of the following, depending on your JDK:
set JRE_CLASSPATH=<New JDK install path>\JRE\lib\rt.jar
set JRE_CLASSPATH=<New JDK install path>\lib\dt.jar
set JRE_CLASSPATH=<New JDK install path>\lib\classes.zip
set JRE_CLASSPATH=<New JDK install path>\lib\classes111.zip
The latter two choices apply to JDK version 1.1.x.
You may also need to adjust the parameters passed to the
executable since valid parameters vary among versions. For
some versions, '-classpath' must be used instead of '-cp'. The
parameters passed as part of the JVM_PARAM may also need to be
modified. See the documentation on your JDK for more
information.
References To Written Documentation:
SonicMQ Supported Third Party Products and Platforms:
http://www.progress.com/sonicmq/overview/platforms.htm
SonicMQ Online Release Notes, included in the product documentation,
and also available online at:
http://www.progress.com/sonicmq/overview/documentation/release.htm
SonicMQ 2000.x Installation and Administration Guide,
Chapter 1, Platform Requirements.
SonicMQ 3.x Installation Configuration & Administration Guide,
Chapter 1, Platform Requirements.