Java SE Runtime Environment 6 (Java 6) – Silent Uninstall (.msi)


The default behavior of Java SE 6 now upgrades (uninstalls previous versions of Java SE 6).  This change in the default behavior appears as of Java SE 6u11.  However, versions of Java SE 6 older than update 10 are not uninstalled (they remain listed as seperate full installations of Java under ‘Add/Remove Programs’).  The old default behavior would install version after version until systems might have a half dozen or more Java installs on them. Versions of Java 6 update 1 thru Java update 7 can be uninstalled using the appropriate msiexec command line syntax as shown below.

When uninstalling Java, web browsers need to be closed.

:Uninstall Java SE RunTime Ver 1.6.0_07
msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160070} /norestart /qb-!

:Uninstall Java SE Run-Time Ver 1.6.0_06
msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160060} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_05
msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160050} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_04
msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160040} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_03
msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160030} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_02
msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160020} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_01
msiexec /x {3248F0A8-6813-11D6-A77B-00B0D0160010} /norestart /qb-!


With the default behavior of JavaSE Runtime 6 now performing an upgrade, you likely won’t ever need to run these commands, but the newer versions are listed here with their product IDs.

:Uninstall Java SE RunTime Ver 1.6.0_16
msiexec /x  {26A24AE4-039D-4CA4-87B4-2F83216016FF} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_15
 msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216015F0}/norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_14
msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216014F0}/norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_13
msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216013F0}/norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_12
msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216012F0} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_11
msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216011F0} /norestart /qb-!

:Uninstall Java SE RunTime Ver 1.6.0_10
msiexec /x {26A24AE4-039D-4CA4-87B4-2F83216010F0} /norestart /qb-!

Links:
Java Silent Install / Silent Uninstall (exe):
http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/silent.html

Advertisements