Testing was performed with the following version of Java:
"1.8.0_161" (JRE 8 update 161), on the EEM server.
1. Shut down EEM
2. Install the Java JRE, and note the install path.
In this example it is installed to: C:\ProgramData\Oracle\Java\javapath
3. Update your PATH variable. The steps to do this will vary with the OS. See the reference below:
https://www.java.com/en/download/help/path.xml4. Define a system variable "JAVA_HOME" and specify the install path, in my example: "C:\ProgramData\Oracle\Java\javapath"
5. Restart EEM