Configuring vRealize Automation Software Agents to run using Oracle Java
search cancel

Configuring vRealize Automation Software Agents to run using Oracle Java

book

Article ID: 342992

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

This article provides steps to use the latest version of Java provided by Oracle with vRealize Automation.

Environment

VMware vRealize Automation 7.6.x
VMware vRealize Automation 7.5.x
VMware vRealize Automation 7.3.x
VMware vRealize Automation 7.4.x

Resolution

Note: When installing vRA Software Agent answer No when asked if you want the script to install Java for you.

Linux

  1. Install the Oracle JRE.
  2. Make sure that Java is in the PATH of the root user with this command:
Note: Both of these commands should return the full path to the 'java' binary and the correct Java version

which java
java -version
  1. Remove the Java version distributed by VMware
rm -rf /opt/vmware-jre
  1. Restart the vRA Software Agent:
systemctl restart vmware_vra_software_agent.service

Windows

  1. Install Oracle Java JRE
  2. Make sure that Java is in the PATH of all users by creating the JAVA_HOME system variable
java -version
  1. Remove the Java version distributed by VMware located in C:\opt\vmware-jre (Remove the entire directory)
  2. Restart vRA agent from Services
Note: When creating new templates install Oracle Java before installing the vRA Software agent.