When trying to uninstall the APM connector, getting
Could not find a valid Java machine to load.
You may need to reinstall a supported Java virtual machine.
The soi\jre\bin\ folder is missing require files.
Rename or delete \soi\jre folder
Make a copy of \soi\jre-32\ folder and rename it to jre
Now run the uninstall.