How To: Uninstall Java

Version 2

    Purpose

     

    The purpose of this document is to provide a batch file to use with Shavlik's Custom Action to uninstall all versions of Java up to Java 7 update 75.

     

    Description

     

    You will need to set up a custom action scan template, this will scan for the Null Patch and allow you to deploy your custom action without actually deploying any patches.

    CustomScan.PNG

     

    You will then need to create a deployment template with custom actions that will push out the uninstall Java batch file to the target machine, and to run the batch file.

    DeploymentTemp.PNG

     

    You will need to scan for the custom action patch, and deploy it. It is very important to use the deployment template that contains the uninstall script and call action.

    DeployCustomAction.PNG

     

    Additional Information

     

    You may need to verify your specific version of Java is included in the batch file. You can also add new versions of Java by using the document below to get the uninstall string for that specific version of Java.

    - How To Uninstall A Program Using Custom Actions

     

    More information on working with batch files within Protect.

    - Custom Action - How To Work With Batch Files

     

    Affected Product(s)

     

    Shavlik Protect 9.x