如何从命令行卸载Java SE


10

Oracle声明Java SE安装程序是使用MSI构建的,但是help page却没有列出卸载选项。

我需要执行命令行卸载,但无法找出或找到与1.6.21相关的选项

我尝试使用将安装程序.exe包装在msiexecmsiexec /q /x <jre>.exe,但这只是报告无法打开安装包。

使用该/s /x选项运行安装程序.exe 只会挂起。

编辑添加: msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160021} /q=>“此操作仅对紧急安装的产品有效”

任何人都有正确的命令行吗?


1
您无法从Control Panel -> Add/Remove Programs

2
它用于计算群集,因此理想情况下需要进行命令行卸载。
nick3216 2011年

Answers:


8

您可以msiexec /x通过在注册表(regedit)中打开找到正确的产品代码。打开钥匙:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

选择卸载密钥,然后从“编辑”菜单中选择“查找”。搜索“ Java”。这应该显示Java位于哪个子项下。关键之一是“ UninstallString”。使用此命令来卸载Java。但是请注意,这仅在安装了完全相同的Java版本的情况下才能在其他计算机上使用。


在本地PC上安装JDK 1.6u21可以使我看到GUID不是我所期望的(基于Oracle docs&Server Fault)。JRE / JDK的区别。reg query HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{32A3A4F4-B792-11D6-A78A-00B0D0160210} /v uninstallString
nick3216 2011年

嗯,在计算节点上,MSIEXEC报告该操作仅对已安装的产品有效,并且reg query /s HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall没有正在安装的JDK的记录。
nick3216 2011年

+1此方法可以很好地卸载已损坏的SQL Server 2012 rsfx驱动程序包。
Eddie B

HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall引用64位程序。您可能还需要检查HKEY_LOCAL_MACHINE \ WOW6432Node \ SOFTWARE \ Microsoft \ Windows \ CurrentVersion \ Uninstall,以获得32位程序。Java既可以安装也可以同时安装,也可以同时安装
-Uniquegeek

引用上面的注册表项,我的Win10计算机的正确路径REG QUERY "HKLM\Software\WOW6432Node\JavaSoft" WOW6432Node应该在SOFTWARE
SimplyInk

4

您可以在2个地方找到产品代码:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Products\4EA42A62D9304AC4784BF238120662FF\InstallProperties

要么

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

您应该能够从密钥中找到卸载字符串UninstallString;就像是:MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83216026FF}


0

仅供参考,如果您使用的是Windows Server 2012 Core,并尝试查找Java 7的卸载字符串,请转到注册表中的以下位置以找到卸载字符串。

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\

0

这有点耗时,但是如何:

wmic product where "name like 'java se%'" call uninstall

0

这完全取决于您在PC上安装的版本。对于Java 8安装,以下内容来自我的批处理卸载程序。

IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_11\bin\java.exe" ECHO Uninstalling Java 8u11...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218011F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_20\bin\java.exe" ECHO Uninstalling Java 8u20...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218020F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_25\bin\java.exe" ECHO Uninstalling Java 8u25...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218025F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_31\bin\java.exe" ECHO Uninstalling Java 8u31...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218031F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_40\bin\java.exe" ECHO Uninstalling Java 8u40...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218040F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_45\bin\java.exe" ECHO Uninstalling Java 8u45...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218045F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_51\bin\java.exe" ECHO Uninstalling Java 8u51...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218051F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_60\bin\java.exe" ECHO Uninstalling Java 8u60...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218060F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_65\bin\java.exe" ECHO Uninstalling Java 8u65...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218065F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_66\bin\java.exe" ECHO Uninstalling Java 8u66...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218066F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_71\bin\java.exe" ECHO Uninstalling Java 8u71...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218071F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_72\bin\java.exe" ECHO Uninstalling Java 8u72...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218072F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_73\bin\java.exe" ECHO Uninstalling Java 8u73...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218073F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_74\bin\java.exe" ECHO Uninstalling Java 8u74...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218074F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_77\bin\java.exe" ECHO Uninstalling Java 8u77...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218077F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_91\bin\java.exe" ECHO Uninstalling Java 8u91...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218091F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_101\bin\java.exe" ECHO Uninstalling Java 8u101...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180101F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_111\bin\java.exe" ECHO Uninstalling Java 8u111...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180111F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_121\bin\java.exe" ECHO Uninstalling Java 8u121...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180121F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_131\bin\java.exe" ECHO Uninstalling Java 8u131...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180131F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_141\bin\java.exe" ECHO Uninstalling Java 8u141...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180141F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_144\bin\java.exe" ECHO Uninstalling Java 8u144...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180144F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_151\bin\java.exe" ECHO Uninstalling Java 8u151...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180151F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_152\bin\java.exe" ECHO Uninstalling Java 8u152...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180152F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_161\bin\java.exe" ECHO Uninstalling Java 8u161...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180161F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_162\bin\java.exe" ECHO Uninstalling Java 8u162...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180162F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_171\bin\java.exe" ECHO Uninstalling Java 8u171...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180171F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_172\bin\java.exe" ECHO Uninstalling Java 8u172...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180172F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_181\bin\java.exe" ECHO Uninstalling Java 8u181...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180181F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_191\bin\java.exe" ECHO Uninstalling Java 8u191...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180191F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_192\bin\java.exe" ECHO Uninstalling Java 8u192...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180192F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_201\bin\java.exe" ECHO Uninstalling Java 8u201...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180201F0} /Q
IF EXIST "C:\Program Files (x86)\Java\jre1.8.0_202\bin\java.exe" ECHO Uninstalling Java 8u202...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180202F0} /Q

IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_11\bin\java.exe" ECHO Uninstalling Java 8u11...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218011F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_20\bin\java.exe" ECHO Uninstalling Java 8u20...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218020F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_25\bin\java.exe" ECHO Uninstalling Java 8u25...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218025F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_31\bin\java.exe" ECHO Uninstalling Java 8u31...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218031F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_40\bin\java.exe" ECHO Uninstalling Java 8u40...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218040F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_45\bin\java.exe" ECHO Uninstalling Java 8u45...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218045F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_51\bin\java.exe" ECHO Uninstalling Java 8u51...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218051F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_60\bin\java.exe" ECHO Uninstalling Java 8u60...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218060F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_65\bin\java.exe" ECHO Uninstalling Java 8u65...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218065F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_66\bin\java.exe" ECHO Uninstalling Java 8u66...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218066F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_71\bin\java.exe" ECHO Uninstalling Java 8u71...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218071F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_72\bin\java.exe" ECHO Uninstalling Java 8u72...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218072F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_73\bin\java.exe" ECHO Uninstalling Java 8u73...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218073F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_74\bin\java.exe" ECHO Uninstalling Java 8u74...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218074F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_77\bin\java.exe" ECHO Uninstalling Java 8u77...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218077F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_91\bin\java.exe" ECHO Uninstalling Java 8u91...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218091F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_101\bin\java.exe" ECHO Uninstalling Java 8u101...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180101F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_111\bin\java.exe" ECHO Uninstalling Java 8u111...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180111F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_121\bin\java.exe" ECHO Uninstalling Java 8u121...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180121F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_131\bin\java.exe" ECHO Uninstalling Java 8u131...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180131F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_141\bin\java.exe" ECHO Uninstalling Java 8u141...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180141F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_144\bin\java.exe" ECHO Uninstalling Java 8u144...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180144F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_151\bin\java.exe" ECHO Uninstalling Java 8u151...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180151F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_152\bin\java.exe" ECHO Uninstalling Java 8u152...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180152F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_161\bin\java.exe" ECHO Uninstalling Java 8u161...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180161F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_162\bin\java.exe" ECHO Uninstalling Java 8u162...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180162F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_171\bin\java.exe" ECHO Uninstalling Java 8u171...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180171F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_172\bin\java.exe" ECHO Uninstalling Java 8u172...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180172F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_181\bin\java.exe" ECHO Uninstalling Java 8u181...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180181F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_191\bin\java.exe" ECHO Uninstalling Java 8u191...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180191F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_192\bin\java.exe" ECHO Uninstalling Java 8u192...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180192F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_201\bin\java.exe" ECHO Uninstalling Java 8u201...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180201F0} /Q
IF NOT EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_202\bin\java.exe" ECHO Uninstalling Java 8u202...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F32180202F0} /Q

IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_11\bin\java.exe" ECHO Uninstalling Java 8u11...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418011F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_20\bin\java.exe" ECHO Uninstalling Java 8u20...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418020F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_25\bin\java.exe" ECHO Uninstalling Java 8u25...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418025F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_31\bin\java.exe" ECHO Uninstalling Java 8u31...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418031F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_40\bin\java.exe" ECHO Uninstalling Java 8u40...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418040F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_45\bin\java.exe" ECHO Uninstalling Java 8u45...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418045F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_51\bin\java.exe" ECHO Uninstalling Java 8u51...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418051F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_60\bin\java.exe" ECHO Uninstalling Java 8u60...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418060F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_65\bin\java.exe" ECHO Uninstalling Java 8u65...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418065F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_66\bin\java.exe" ECHO Uninstalling Java 8u66...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418066F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_71\bin\java.exe" ECHO Uninstalling Java 8u71...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418071F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_72\bin\java.exe" ECHO Uninstalling Java 8u72...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418072F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_73\bin\java.exe" ECHO Uninstalling Java 8u73...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418073F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_74\bin\java.exe" ECHO Uninstalling Java 8u74...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418074F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_77\bin\java.exe" ECHO Uninstalling Java 8u77...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418077F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_91\bin\java.exe" ECHO Uninstalling Java 8u91...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F86418091F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_101\bin\java.exe" ECHO Uninstalling Java 8u101...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180101F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_111\bin\java.exe" ECHO Uninstalling Java 8u111...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180111F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_121\bin\java.exe" ECHO Uninstalling Java 8u121...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180121F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_131\bin\java.exe" ECHO Uninstalling Java 8u131...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180131F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_141\bin\java.exe" ECHO Uninstalling Java 8u141...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180141F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_144\bin\java.exe" ECHO Uninstalling Java 8u144...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180144F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_151\bin\java.exe" ECHO Uninstalling Java 8u151...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180151F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_152\bin\java.exe" ECHO Uninstalling Java 8u152...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180152F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_161\bin\java.exe" ECHO Uninstalling Java 8u161...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180161F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_162\bin\java.exe" ECHO Uninstalling Java 8u162...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180162F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_171\bin\java.exe" ECHO Uninstalling Java 8u171...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180171F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_172\bin\java.exe" ECHO Uninstalling Java 8u172...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180172F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_181\bin\java.exe" ECHO Uninstalling Java 8u181...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180181F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_191\bin\java.exe" ECHO Uninstalling Java 8u191...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180191F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_192\bin\java.exe" ECHO Uninstalling Java 8u192...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180192F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_201\bin\java.exe" ECHO Uninstalling Java 8u201...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180201F0} /Q
IF EXIST "C:\Program Files (x86)" IF EXIST "C:\Program Files\Java\jre1.8.0_202\bin\java.exe" ECHO Uninstalling Java 8u202...&MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F64180202F0} /Q
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.