Installation guide
Set JRE in PATH Variable Before Uninstalling the Web Agent
162 Web Agent Installation Guide
Set JRE in PATH Variable Before Uninstalling the Web Agent
On Windows and UNIX systems, when you are uninstalling the Web Agent, make
sure the JRE is in the PATH variable or the uninstallation program stops and
issues 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:
On Windows
a. Go to the Control Panel.
b. Double-click System.
c. In the Environment Variables dialog, add the location of the JRE to the
PATH system variable.
For example, C:\j2sdk1.5.0_01\jre\bin
On Solaris
Run these two commands:
a. PATH=$PATH:JRE/bin
where JRE is the location of your JRE.
For example, /usr/bin/j2sdk1.5.0_01/jre
b. export PATH