Details
-
Fix
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
1.10, 1.11
-
None
Description
Current Situation
- The start script for the Universal Agent executes a version check for the Java version. The first line of the output of a java -version command is analysed.
- If the Java version is not given in the first line, then the Universal Agent does not start
This happens when _JAVA_OPTIONS or JAVA_TOOL_OPTIONS is set as environment variables.
Desired Behaviour
- The Universal Agent should start even if outpout of the java -version command does not contain the version in the first output line e.g. if the output looks like this
oracle sid host:/home/oracle >java -version Picked up _JAVA_OPTIONS: -Xms256m -Xmx256m java version "1.8.0_144" Java(TM) SE Runtime Environment (build 1.8.0_144-b01) Java HotSpot(TM) 64-Bit Server VM (build 25.144-b01, mixed mode)
Maintainer Note
- If the first line of the java -version output doesn't contain the expected content such as ... version "1.8.0_144" then the version will not be checked.