Submit a ticketCall us

Webinar: Web Help Desk for HR, Facilities and Accounting Departments
This webinar will focus on use cases for HR, Facilities and Accounting.

Having a unified ticketing and asset management system for all the departments in your company can provide end-users with a seamless experience and make things easier for your IT team. Yet, with different business tasks and objectives, many departments don’t fully understand the capabilities of Web Help Desk and how the software can be customized for effective use in their departments.
Register Now.

Home > Success Center > Patch Manager > Java uninstall switches

Java uninstall switches

Table of contents
Created by Randall Harwood, last modified by MindTouch on Jun 23, 2016

Views: 590 Votes: 4 Revisions: 10

Overview

This article provides brief information and steps to resolve the issue when Java packages do not remove the older versions from the system. 

An option is to uninstall Java with provided switches. 

Note: Only out of date versions of Java will be removed. The last two releases will remain installed, as per Java limitations. 

Environment

Patch Manager version 1.85 or later

Steps

https://docs.oracle.com/javase/8/doc...g_file_options

  1. Select the Package in Administration and Reporting > Software Publishing > Sun Packages.
  2. Once the package is selected, right-click and click Edit.
  3. In the Title you want to update it to something that reflects that this package uninstalls so it creates a new package. 
    1. Example: Java Runtime Environment 8u92 (x86 for x64) (Upgrade) Uninstall old versions
  4. Go to the Select Package page as seen below:

  5. In the Command Line type the following:

    /s REMOVEOUTOFDATEJRES=1

  6. Click Next and continue to save the Package and Publish to WSUS.

 

Related Article - Patch Manager does not uninstall previous versions of Java.

 

 

Last modified
01:05, 23 Jun 2016

Tags

Classifications

Public