Kbase P36: Error "JVM has not been detected" with java already installed running the Progress installation util
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  14/10/2008 |
|
Status: Verified
SYMPTOM(s):
Error "JVM has not been detected" with java already installed running the Progress installation utility
JVM has not been detected
Error running the proinst utility
Installation of products that require JAVA will not be allowed.
java -version returns the wrong Java version required on this platform
java -version returns java: command not found
FACT(s) (Environment):
Correct version of Java is already installed on the system
UNIX
Progress 9.x
OpenEdge 10.x
Progress/OpenEdge Versions
CAUSE:
Incorrect Java version installed or incorrect Java configuration settings
FIX:
1. Ensure that correct JAVA version for the version of Progress that is being installed.
2. Set the following environment variables:
JAVA_HOME=<directory where the correct java version has been installed>; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH
3. To confirm if the the above variables where properly set, run the command:
java -version
The output should be something like:
java version "1.5.0_11"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
Java HotSpot(TM) Server VM (build 1.5.0_11-b03, mixed mode)
4. Rerun proinst in the same UNIX session
FIX:
Set the following environment variables:
JAVA_HOME=<directory where java has been installed>; export JAVA_HOME
JDK_HOME=<directory where java has been installed>; export JDK_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH
To confirm if the the above variables where properly set, run the command:
java -version
The output should be something like:
java version "1.3.1_01"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_01)
Java HotSpot(TM) Client VM (build 1.3.1_01, mixed mode)