Java 9+ moves the Windows registry key. (Documented here and here.)
This patch searches the new path if unable to open the first. In my testing uninstalling Java 8 does remove its registry key. Thoughts on searching the new location first to prefer more recent JVMs?
Thank you for reporting this and writing a patch. We will also search the new Java 9 location in the next release or the Wrapper.
This issue has been fixed in Wrapper version 3.5.36.
https://wrapper.tanukisoftware.com/doc/english/release-notes.html
As suggested, the Wrapper will first search on the new location (HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\JRE) to prefer more recent JVMs, then on "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" for compatibility with Java 8 and earlier.
Additionaly a new property wrapper.registry.java_version was added to target a specific Java version in the registry.