Steps to upgrade the latest JDK in OEM agent :
1. Check JDK Version.
Go to OEM agent location and check the java version.
cd /u01/app/oracle/product/agent13c/agent_13.5.0.0.0/jdk/bin
./java -version
4. Upgrade JDK 8 Update 361 (34894392)
Download the latest JDK from oracle support.
Go to patch location
cd <Patch location>
Copy the patch to agent home
cp p34894392_180361_Linux-x86-64.zip /u01/app/oracle/product/agent13c/agent_13.5.0.0.0/oracle_common/
Go the agent home
cd /u01/app/oracle/product/agent13c/agent_13.5.0.0.0/oracle_common/
Take a backup of JDK directory
mv jdk jdk_bck
Unzip the patch file under agent home
unzip p34894392_180361_Linux-x86-64.zip
untar the jdk file and rename the jdk1.8.0_361 to jdk
tar zxvf jdk-8u361-linux-x64.tar.gz
mv jdk1.8.0_361 jdk
5. Verify agent JDK version
cd /u01/app/oracle/product/agent13c/agent_13.5.0.0.0/oracle_common/jdk/bin
./java -version