Kbase P42054: How to work around java version check during installation on UNIX?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  9/15/2008 |
|
Status: Verified
GOAL:
How to work around java version check during installation on UNIX?
FACT(s) (Environment):
UNIX
WebSpeed 3.x
Progress 9.x
OpenEdge 10.x
FIX:
During installation, progress checks that proper java version is installed on the system by running "java -version" command prior to install. If your application does not use any java components, you can skip installing Java completely and use following workaround to bypass install program's java check.
Note the workaround is only tested on SCO OpenServer and is not supported in anyway by Progress. If encountering problems, please install required Java version.
Follow these steps:
1) Create a shell script called "java" with the following
two lines:
#!/bin/sh
echo 'java version "1.1.3:1998-JUL-23"'
2) Save the script in any directory.
3) Add this directory to the very beginning of root's PATH
environment variable.
4) Verify that java command always executes as following:
At the prompt #, type in "java"
Output will be java version "1.1.3:1998-JUL-23"
5) Run proinst script.
NOTE: When prompted, enter the JavaHome Path.
6) The JDK installation directory needs to be entered.
This workaround has been tested and proven to work with SCO OpenServer. Other platforms have a different date and version information for java.
If you do not have Java installed and you see a "Invalid Java Home Directory" message during installation, add a fake java-dir/bin to the beginning of PATH.
NOTE: To get the platform-specific java version, take these steps:
1) CD onto the Cdrom.
2) Type: strings _ovrly > /tmp/tom vi /tmp/tom search for SCO_SV
This tells you the Java version that you should have on your system for Progress to install correctly.
The information is there for other platforms also but the workaround in this solution has not been tested on these.