How to remove JRE entries from Windows registry?

后端 未结 3 961
离开以前
离开以前 2020-12-16 16:26

By mistake I deleted Java folder from my Windows machine.
Now I\'m getting problems in various plugins and all and it is asking me to download l

3条回答
  •  生来不讨喜
    2020-12-16 16:55

    I found a very good source of information to fix installer issues with Java in the following link:

    http://forums.whatthetech.com/index.php?showtopic=104537

    Seems the following registry entries in Windows must be deleted:

    reg query hklm\software\classes\installer\products /f "java(tm) 6" /s | find "HKEY_LOCAL_MACHINE" > deljava.txt
    for /f "tokens=* delims= " %%a in (deljava.txt) do reg delete %%a /f
    del deljava.txt
    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Runtime Environment" /f
    reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\wow6432node\JavaSoft\Java Runtime Environment" /f
    

    Checked and it is working with Windows 7 x64.

    Regards,

提交回复
热议问题