Applications Manager Remote Agents does not contain a JAVA_HOME environment variable like on the master or Automation Engine.
When running rainstall or cdinstall on an existing Remote Agent installation, if a JAVA_HOME value exist in the sosite file, the variable will be removed.
Component : APPLICATIONS MANAGER
Applications Manager will use the Java that is found first is PATH. If a different Java version is needed, set it in the .profile or similar file.