Install Addendum for Java on Linux: After Oracle Java SE Installation on Linux the "java" Command Does Not Run the Expected Java Virtual Machine
(Doc ID 1484373.1)
Last updated on OCTOBER 22, 2019
Applies to:Java SE JDK and JRE - Version 6 and later
PeopleSoft Enterprise PT PeopleTools - Version 8.56 to 8.56 [Release 8.4]
A JDK/JRE from Oracle has been installed on a Linux machine according to the installation instructions. The "java" command does not run the JVM that has been installed. Java applications can fail to run if an unexpected Java Runtime Environment is found.
Example from a Red Hat server:
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document
|Solution 1: Modify the PATH|
|Solution 2: Use an absolute path|
|Solution 3: Use update-alternatives|