Hi there,

    I have been trying to uninstall Oracle JDK 8 update 51 by using switches.But I couldn't able to do that. Can you guys please help about that?. 

jdk 8 update 51 is exe. It comes with Java SE runtime msi. I can able to uninstall java SE runtime, not jdk.

Thanks your time in advance 
Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer Chosen by the Author


run regedit and go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall and search for java,  keep searching till you find the key set for the java jdk in the name and look at the "UninstallString"= entry for the command.  If there is a /I in the command substitute a /x for the /i in the string and add a /qn at the end and you will have silent uninstall.

as an example if the uninstallsting is

MsiExec.exe /I{26A24AE4-039D-4CA4-87B4-2F83218051F0}

make it

MsiExec.exe /X{26A24AE4-039D-4CA4-87B4-2F83218051F0} /qn
Answered 07/23/2015 by: SMal.tmcc
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity


Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja