Kbase P110836: "A JVM has not been detected", running proinst.
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  16/10/2008 |
|
Status: Unverified
FACT(s) (Environment):
UNIX
SYMPTOM(s):
Error running the Progress installation utility.
Error running the proinst utility.
A JVM has not been detected.
Installation of products that require JAVA will not be allowed.
'java -version' returns the correct Java version required on this platform.
Some text is returned before the Java version itself.
CAUSE:
proinst expects the Java version returned by 'java -version' to be the very first line in the output. If something is output by the java command before the version string, then proinst will issue the above warning.
Following is an example of the problematic output, on a Linux machine with Java 1.3.1_10:
[root@pctest tmp]# java -version
Some debug message
java version "1.3.1_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)
Java HotSpot(TM) Client VM (build 1.3.1_10-b03, mixed mode)
Such a problem usually indicates that the java script in the Java installation directory has been tampered with.
FIX:
Fix the java script in the Java installation directory so that it outputs the Java version as the first line in the output. The output must be something similar to the following:
[root@pctest tmp]# java -version
java version "1.3.1_10"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_10-b03)
Java HotSpot(TM) Client VM (build 1.3.1_10-b03, mixed mode)