Jump to content


  • 0
sothpaw

Batch File or Script to completely remove any version of Java

Question

3 answers to this question

Recommended Posts

  • 0

Hi Sothpaw,

 

You could try this batch file and edit it where you see fit

 

wmic product where "name like 'Java%%%'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 1'" uninstall /nointeractive
wmic product where "name = 'java 7 update 2'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 3'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 4'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 5'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 6'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 7'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 8'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 9'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 10'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 11'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 12'" call uninstall /nointeractive
wmic product where "name = 'java 7 update 13'" call uninstall /nointeractive

  • Like 1

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.