Note: When installing vRA Software Agent answer No when asked if you want the script to install Java for you.
Linux
- Install the Oracle JRE.
- 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
- Remove the Java version distributed by VMware
rm -rf /opt/vmware-jre
- Restart the vRA Software Agent:
systemctl restart vmware_vra_software_agent.service
Windows
- Install Oracle Java JRE
- Make sure that Java is in the PATH of all users by creating the JAVA_HOME system variable
java -version
- Remove the Java version distributed by VMware located in C:\opt\vmware-jre (Remove the entire directory)
- Restart vRA agent from Services
Note: When creating new templates install Oracle Java before installing the vRA Software agent.