This can be caused by an interference between the UFT One Java environment variables and the Java installer.
To successfully complete the installation, rename the UFT One Java environment variables, perform the JRE installation and restore the variable names:
1) To temporarily rename the UFT One Java environment variables:
On your Windows Desktop, right-click My Computer or This PC and select Properties.
Select the Advanced tab.
Click the Environment Variables... button.
Look for the following environment variables both under the user variable list and the system variables list and edit their names:
2) Install JRE
3) Once the JRE installation has completed, change the environment variables names back to their original names.