Uninstalling WAOP, I get error : Windows Error 2 occured while loading Java VM

Document ID : KB000007142
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

When I uninstall the Web Agent Option Pack, I get the error in a popup 

 

  "Windows Error 2 occured while loading Java VM"

 

Environment:
Web Agent Option Pack 12.52 on Windows 2012
Resolution:

Microsoft has a solution for this error : 

 

https://answers.microsoft.com/en-us/windows/forum/windows8_1-update/launchanywhere-error-windows-error-2-occured-while/9853d01d-d85b-41d0-af23-e9965140fc69 

 

You'll be able to solve the issue by adding a PATH variable to the system descibed in the preceeding link.