I came across such an issue with an older version of JRE on Windows 7.
If you are bold enough (i.e. familiar with working with Registry Editor) I'd suggest manual uninstallation of JRE by deleting appropriate keys from the Registry and files from the file system. It is recommended that you create a restore point before proceeding.
Start regedit.exe, maximize its window and expand left column. Then carefully browse to find the following Registry keys and delete them (the status line on the bottom of regedit shows the full path of the selected key):
- general settings for Java:
- general settings for 32-bit Java on 64-bit Windows:
- info on Java uninstaller - search through the Uninstall key for subkeys related to JRE (it is possible that you'll find more than one such subkey):
Hint: after selecting the Uninstall key press Ctrl-F and search for Java - you should find the DisplayName value with data containing "Java X Update YY".
- info on Java uninstaller for 32-bit Java on 64-bit Windows - search through the Uninstall key for subkeys related to JRE (it is possible that you'll find more than one such subkey):
- current user settings for Java:
- info on Java uninstaller in current user settings - search through the Uninstall key for subkeys related to JRE (it is possible that you'll find no such subkeys):
While deleting the Registry keys for user settings you have to be logged in as the user who previously installed Java on that machine.
Also, remove the Java installation directories. The following are default directories:
C:\Program Files (x86)\Java
Remove the following java executables:
Finally, restart Windows and try to install the latest JRE.