My agent isn't working after updating or installing the Java runtime in the managed instance

My agent is not working after updating or installing Java runtime in the managed instance.

There are two possible causes for this issue:
  1. If the Java runtime used by management agents isn't updated according to the instructions in Using Java with Management Agent, your agents will stop working. You'll have to reinstall agents as described in Installing Management Agent and Deploying JMS Plug-ins.
  2. If the management agent was set up with system Java, LCM install operation may update the java symlink in alternatives framework and change the default system java path. It is recommended to set up the management agent with a Java installation that is independent of system java. For example, while installing the management agent, set JAVA_HOME to JDK 8 that is not managed by the operating system's package management system.