windows - Java Runtime Environment HKEY_LOCAL_MACHINE Error -


I was trying to get rid of older versions of Java on my Windows (since I was still 1.6 and I have Was also 1.7) XP machine well uninstall 1.6 I got an error about the Java runtime environment When I try and start the Java control panel, I get this error:

The system can not find the specified registry key:

HKEY_ LOCAL_MACHINE \ SOFTWARE \ JavaSoft \ Java Runtime Environment \ 1.7.0_05

I have tried to re-install Java but it does nothing and I do not completely remove Java Because whenever I try, I get an error saying that there was an error in the installation. To be specific:

Fatal error during installation.

Any ideas how can I fix this problem? It protects me from doing a lot of things which is disappointing.

Note the author: The answer is Java installations, major version 6 And 7 was written to address. It can not work with Java versions or may be new or old, but probably will not hurt to try it. If you do not list a major version of these instructions, please comment whether you were successful or not.


  1. Read all the directions twice. This solution gives the details of manually uninstalling Java by modifying the Windows registry. If you do not follow the instructions, you can permanently damage the installation of your windows and it will require serious firepower to work properly again. If you can not understand the risks, ask someone for help.

  2. If you have any registry cleaners, get rid of them. It's probably their fault I have never met and I did not read my registry only with a 10 ft pole Appears

  3. If you are using a laptop, connect one to the charger. If you have children, then follow them on a dog and find a quiet secluded place and pole yourself with zero distraction for about 15 minutes.

  4. Back up the registry key "HKEY_LOCAL_MACHINE \ SOFTWARE \ JavaSoft", save it is somewhere safe.

  5. Delete the following registry keys and all its subkeys just below: "HKEY_LOCAL_MACHINE \ SOFTWARE \ JavaSoft" After you have done this step, Java is dead is. Do not try to run any Java program at this level, it will almost certainly not work.

  6. Open "C: \ program files" (and, if you see a 64 bit machine, "C: \ Program Files (x86)") if you see folders named Java Rename them to "Java_" If you set Java to a nonstandard location, navigate to it and add an underscore to its name.

  7. Download and install the latest version. Installation should be completed with no problems.

  8. (Optional) Uninstall Java again. Uninstallation should go smoothly and it should be handled properly by any broken resources established by broken installation. Restore when uninstall is complete. Since you are installing the same version that you just removed, it is probably not necessary.

    Last note: I have used this surgery many times on other people's computers using the team operator, and it has never been wrong where I am hanging there In the social circles, we call it a Javatomi. For reference, I help people with hanging on the IRC and issues of microcuting. We think we've seen every potential Java issue. This is quite normal and is due to some concurrent Java version, registry cleaner and some combination of interrupted or failed updates. Once you've been verified that the restore has gone smoothly and without any problems, then you can remove your saved registry keys and designate the Java folders named "Program Files" and "Program Files (x86)" Can be removed. With aided underscore, which is called Java, was added by the reinstallation and it should be left.

    Disaster Recovery: In the unlikely event of something wrong, restore the named Java folder and patches the registry keys with your backup to return to the original (partially broken) status.

Comments