Kbase P5149: How do I point to the correct Java version prior to installing Progress?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  09/08/2005 |
|
Status: Verified
GOAL:
How do I point to the correct java version prior to installing Progress?
GOAL:
If I have multiple versions of java installed, how do I find out that the corrcect JDK version is in use by Progress?
GOAL:
Which java version is the server pointing to before installation?
FACT(s) (Environment):
UNIX
FIX:
The $PATH environment variable needs to be pointing to the correct java install prior to running the proinst utility. Otherwise the system's default java executable's version will be picked up from the PATH, which is not necessarily the correct java version for the Progress installation .
After installing the correct java version for the version of Progress (this can be verified in the Release Notes and documentation provided with the Progress License), ensure that the directory where java executable can be found is in the $PATH before executing the installation.
FOR EXAMPLE:
If Java 1.3.1 is installed in: /usr/jre131_32bit/jre
PATH=/usr/jre131_32bit/jre/bin:$PATH;export PATH
(execute) proinst
Post sucessful installation, the directory that the java is used from can be verified in the $DLC/bin/java_env file, dependant on which O/S is in use.
FOR EXAMPLE:
Provided that the $JDKHOME is not set by a third party software,
- Find the section relevant to the O/S in use by viewing the java_env file
- Find the path that the OS variable JDKHOME is set to:
eg: JDKHOME=/usr/jre131_32bit/jre
- cd to the JDKHOME directory and type " ./bin/java -version " (without quotes)