My Oracle Support Banner

How To Determine If You Can Safely Remove Operating System Supplied Java (and other) Packages From Solaris 10 and Earlier (Doc ID 1546471.1)

Last updated on AUGUST 29, 2023

Applies to:

Solaris Operating System - Version 8 to 10 1/13 U11 [Release 8.0 to 10.0]
Java SE JDK and JRE - Version 7 to 7 [Release 7]
Information in this document applies to any platform.


With recent news of Java vulnerabilities, system administrators are eager to ensure that their Java instances are fully patched, and are even considering removing the operating system supplied Java instances in order to remove the requirement to patch unused versions of Java.

Unfortunately, removing the operating system supplied Java revisions isn't a simple matter of removing the SUNWj[3-6]* packages (pkgs) due to dependencies.

This document aims to assist you in determining if you need a particular version of the operating system supplied Java package so you can safely remove the packages you don't need. Please keep in mind this is just guidance as the inherent limitations in the SYSV packaging system on Solaris 10 and earlier make it difficult to do simply. Most of these limitations are addressed in the new packaging system on Solaris 11 and later.

If in doubt, leave the operating system supplied packages installed and ensure they are fully patched.

This document details removing operating system supplied Java packages, but this methodology and thinking applies to any operating system supplied package on Solaris 10 and earlier.



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.