This script uses to uninstall different Oracle Java listed in the prod_names = [] in the script.
If the required version is not listed in the prod_names. Can add the product name in the script: eg: prod_names = [r'xxxxxx']
Product name should mention as of like in control panel.
Note: Run as Local System User