Installation and Upgrade Guides › Policy Server Installation Guide › Installing the Policy Server on Windows Systems › Uninstall the Policy Server and Documentation › How to Uninstall the Policy Server › Set the JRE in the Path Variable
Set the JRE in the Path Variable
You set the JRE in path variable when uninstalling the Policy Server, Web Agent and SDK to prevent the uninstallation program from stopping and issuing one of the following error messages:
- "Could not find a valid Java virtual machine to load. You need to reinstall a supported Java virtual machine."
- "No Java virtual machine could be found from your PATH environment variable. You must install a VM prior to running this program."
To Set the JRE in the Path variable
- Open the Windows Control Panel.
- Double-click System.
- Add the location of the JRE to the Path system variable in the Environment Variables dialog.