Option 1: Restart your system and uninstall old versions
Restart your system before installing
Once you see the 1603 error, restart your system.
Download and install the offline installer package.
When prompted, choose Save in the download dialog box, and save the download package in a convenient place (e.g. save on the desktop).
Double click on the downloaded installation file to start the installation process.
Uninstall Java versions before installing
If the above instructions fail to resolve the issue, it is recommended that you uninstall all existing Java versions from the system.
Reboot the system after you uninstall all Java versions, before trying to install.