Scripting Question

Uninstall Oracle Java Development Kit 8 update 51

07/23/2015 7384 views
  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   [ + ] Show comments


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

This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ