Uninstalling the SAS JRE and the JDK

Deployed Web Applications

Undeploy and delete WAR and EAR files that are deployed to your Web application server or servlet container.

Overview of Uninstalling the SAS JRE and the JDK

After you have uninstalled your SAS software and your third-party software, you can uninstall the Java Runtime Environment (JRE) that SAS uses. If the Java Development Kit (JDK) on the machine was being used only in support of SAS Web applications, you can also remove the JDK.

Windows

To uninstall the JRE and the JDK used by SAS from a Windows machine, perform these steps:
  1. Open the Control Panel by selecting Startthen selectSettingsthen selectControl Panel.
  2. From the Control Panel, open the Add or Remove Programs.
  3. From the Add or Remove Programs window, remove the products.
  4. Close the Add or Remove Programs window and the Control Panel.

UNIX

This procedure applies only if you had the SAS Foundation installed. In any event, proceed with caution.
Note: Make sure that the JRE and JDK are not being used for other software on the machine before you delete the products.
To uninstall the JRE and the JDK used by SAS from a UNIX machine, perform these steps:
  1. Locate the directory where these products are installed, and make sure that you have permission to delete files in this directory.
  2. Delete the product with uninstallers whenever you can. Otherwise, use the rm -rf command on the top-level installation folder.