How To
Summary
Starting with releases 2.2.6.51 and 3.1, IBM Java 7 can be removed from the Virtual I/O Server.
Objective
This document will describe information about VIOS 3.1 as PowerVM V2.2 is no longer supported since 30th Sept 2020.
VIOS 3.1 release removes the dependency on Java 7 from many filesets.
If you would like to remove these filesets, and Java 7 itself, which goes out of support in July 2022, you can use the following command:
$ updateios -remove_outdated_filesets
Currently, "remove_outdated_filesets" will also remove perf.analysis, hence breaking part command.
We recommend removing Java 7 filesets individually as mentioned in "Steps" paragraph till FIX availability
IBM Java 8 has been included in these releases and must not be removed.
Note:
- There is a PATH environment variable in /etc/environment which indicates the default Java to be used on the system.
- The PATH does not change automatically. It needs to be changed manually. i.e. If you want default Java on the system to be 64-bit Java 8, you need to remove any old references to Java from the path and add the 64-bit Java 8 entries to the PATH.
- Option "-remove_outdated_filesets" from updateios command removes the following Java filesets: Java5.sdk, Java6.sdk, Java7.sdk,Java7_64.sdk, Java7.jre, Java7_64.jre
Steps
Summary of the steps to remove the Java7 filesets:
*) Get the fileset name
# lslpp -hac | grep -i java7
*) Check if there are Dependents
# lslpp -d Java7.rte
# lslpp -d Java7_64.rte
# lslpp -d Java7.rte
# lslpp -d Java7_64.rte
*) Remove the fileset
# installp -ug Java7.rte
# installp -ug Java7_64.jre
# installp -ug Java7.rte
# installp -ug Java7_64.jre
Details output of these remove :
# installp -ug Java7_64.jre
....
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
Java7_64.jre 7.0.0.675 ROOT DEINSTALL SUCCESS
Java7_64.jre 7.0.0.675 USR DEINSTALL SUCCESS
Java7_64.sdk 7.0.0.675 USR DEINSTALL SUCCESS
# installp -ug Java7.jre
....
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
Java7.jre 7.0.0.675 ROOT DEINSTALL SUCCESS
Java7.jre 7.0.0.675 USR DEINSTALL SUCCESS
Java7.sdk 7.0.0.675 USR DEINSTALL SUCCESS
....
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
Java7.jre 7.0.0.675 ROOT DEINSTALL SUCCESS
Java7.jre 7.0.0.675 USR DEINSTALL SUCCESS
Java7.sdk 7.0.0.675 USR DEINSTALL SUCCESS
# installp -ug Java7_64.jre
....
Installation Summary
--------------------
Name Level Part Event Result
-------------------------------------------------------------------------------
Java7_64.jre 7.0.0.675 ROOT DEINSTALL SUCCESS
Java7_64.jre 7.0.0.675 USR DEINSTALL SUCCESS
Java7_64.sdk 7.0.0.675 USR DEINSTALL SUCCESS
Document Location
Worldwide
[{"Type":"MASTER","Line of Business":{"code":"LOB57","label":"Power"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]
Was this topic helpful?
Document Information
Modified date:
26 January 2024
UID
ibm16495833