2

Whenever I try to update to the latest version of Java, an installation of Java 7 Update 5 is detected and then I'm asked for the file, jre1.7.0_05-c.msi, which I don't have, so then the installation is cancelled and I'm left unable to upgrade Java.

screenshot

7

I just removed the installation entry by deleting the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\4EA42A62D9304AC4784BF238120750FF in regedit.exe and I was then able to upgrade Java without any problems.

2

If possible, download jre1.7, install it, then uninstall.

Check following oracle page for old version of java:

http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html

If you want to get the msi file, you can install it on another computer or get it from another computer that already has it. The file location is at

c:Users/<Username>/AppData/LocalLow/Sun/Java/jre1.7

Copy it over and give it a try.

  • It's not possible since I need to uninstall my existing installation before I can install anything else—it won't install over it. – Mark Cidade Nov 10 '12 at 23:21
  • What about downloading the latest version and install it? – John Siu Nov 10 '12 at 23:25
  • That's the version with which I'm having a problem. – Mark Cidade Nov 10 '12 at 23:28
  • How did you get that one? The current java for windows d/l are jre-7u9-windows-x64.exe and jre-7u9-windows-x64-i586.exe. – John Siu Nov 10 '12 at 23:39
  • I'm not sure how I got it. Probably either by running jre-7u5-windows-i586.exe or through the Chrome plugin setup (e.g., chromeinstall-7u5.exe). It shows up as "Java(TM) 7 Update 5" in the "Add/Remove Programs" control panel. – Mark Cidade Nov 10 '12 at 23:46
0

Mark is right; in order to be able to reinstall or upgrade java, without the current install MSI file, remove the corresponding entry from the registry ! just search by yourself, or use a reg file like this:

Windows Registry Editor Version 5.00
; 1.7.5
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\4EA42A62D9304AC4784BF238120750FF]
; 1.7.25
[-HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products\4EA42A62D9304AC4784BF238120752FF]

play this file and reboot, java is able to install at new ! it would be good to have a reg file containing all of the possibilities for every java version ^^

if it's not sufficient, M$ provides a tool for corrupted installs : http://support.microsoft.com/mats/Program_Install_and_Uninstall

0

http://www.ihelpforum.com/index.php?guides/problem-uninstalling-java-java-not-working.112/

Use the above guide it helped med to remove java.

  • 1
    You should add a more detailed solution, instead of just posting a link. Link only answers can easily become useless due link-rot. – lzam Oct 2 '14 at 0:12
0

I have solved this by using windows troubleshooter , refer below link to downlad

https://support.microsoft.com/en-us/help/17588/fix-problems-that-block-programs-from-being-installed-or-removed Click download-> in problem install /uninstall troubleshooter window select product to uninstall and its done.

  • 1
    Link only answer is useless, especially when it will be broken. Can you elaborate on this a little more? – Toto May 24 '18 at 9:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.