Kbase P93476: Error "JVM has not been detected" with java already installed
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/15/2008 |
|
Status: Verified
SYMPTOM(s):
Error "JVM has not been detected" with java already installed
JVM has not been detected
Correct version of Java is already installed on the system
java -version returns the following
java: command not found
FACT(s) (Environment):
UNIX
Progress/OpenEdge Versions
CAUSE:
Incorrect Java configuration settings
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)