Changes

Jump to: navigation, search

Java

637 bytes added, 01:43, 17 April 2015
Java Runtime Environment (JRE) 8: tip about how to use WMIC to remove all Java7 and Java8
To uninstall the old Java 7 and 8 versions you can use a [http://wpkg.org/index.php?title=Remove_Java a removal package].
 
I suggest use this to remove all Java7 versions:
<install cmd='wmic product where "name like &apos;Java 7%%&apos;" call uninstall' />
and to remove all Java8 is similar:
<install cmd='wmic product where "name like &apos;Java 8%%&apos;" call uninstall' />
Indeed you can use the last line to remove Java8, like this:
<remove cmd='wmic product where "name like &apos;Java 8%%&apos;" call uninstall' />
It´s easier to mantain even if it slower to run.
Java6 also can be removed this way, but it have that ugly TM, so line must includ it:
<install cmd='wmic product where "name like &apos;Java (TM) 6 %%&apos;" call uninstall' />
 
<source lang="xml">
10
edits

Navigation menu