How To
Summary
This document will discuss the options on how to roll back to a previous SR FP level for the IBM i Java Development Kit (JDK) after applying PTFs. This might be needed if the latest Java PTFs and SR FP applied cause issues with your Java applications. Rolling back to a previous SR FP might be a temporary solution until you can resolve your Java issue.
Environment
IBM i OS
Steps
There are a few different options when considering a rollback to a previous SR FP level for your IBM i Java Development Kit (JDK) environment.
1) Uninstall the recently applied SR FP PTFs for the Java version and bit level you wish to roll back.
NOTE: There are 2 PTFs for each SR FP level per Java version and bit level.
a) Identify the Java version and bit level in which you need to roll back the SR FP level for. You can use WRKJVMJOB, Option 5 to identify the Java version and bit level for an active JVM job.
b) Locate the 2 PTFs for the IBM i OS VRM, Java version and bit level, and SR FP level you wish to uninstall.
To help find these PTFs (in most cases when the SR FP is not the GA version), search on the following strings to find the appropriate PTFs. There are always 2 PTFs per SR FP level.
For Java 8.0 32 bit SR5 FP40 on IBM i 7.4, you would use these search strings...
JVA-RUN JDK 80-32 IBM Technology for Java SR5 FP40 IBM i 7.4
JVA-RUN JDK80 32 BIT IBM Technology for Java SR5FP40 IBM i 7.4
For Java 8.0 64 bit SR5 FP35 on IBM i 7.3, you would use these search strings...
JVA-RUN JDK 80-64 IBM Technology for Java SR5 FP35 IBM i 7.3
JVA-RUN JDK80 64 BIT IBM Technology for Java SR5FP35 IBM i 7.3
JVA-RUN JDK80 64 BIT IBM Technology for Java SR5FP35 IBM i 7.3
You can also look at the bottom of the current SR FP PTF cover letters (available from the IBM i Java Group PTF cover letter) and look at the "Supersedes" section to identify the PTFs for the SR FP you wish to roll back to.
For example: IBM i 7.4 Java 8.0 32 bit SR6 FP20 PTF Cover Letters:
======================================
After the 2 PTFs for your IBM i OS VRM and Java version and bit level have been identified, you will need to end all JVM jobs using this particular Java version and bit level before you can remove the PTFs.
WRKJVMJOB, Option 5 to identify JVMs.
End all JVMs using the 5770JV1 LPP Option you are removing PTFs against.
RMVPTF LICPGM(5770JV1) RLS(*ONLY) SELECT(SIXXXXX SIXXXXX) RMV(*PERM) DELAYED(*NO)
2) Uninstall the 5770JV1 LPP, reinstall from IBM i media, and then identify and apply the individual SR FP PTFs to install the desired SR FP level for your Java version and bit level.
NOTE: There are 2 PTFs for each SR FP level per Java version and bit level.
a) Uninstall the 5770JV1 LPP Option corresponding to the Java version and bit level you wish to roll back.
For your instance, you would uninstall 5770JV1 Option 17 for 8.0 64bit.
For your instance, you would uninstall 5770JV1 Option 17 for 8.0 64bit.
b) Install from media the 5770JV1 LPP Option you just uninstalled.
For your instance, you would install 5770JV1 Option 16 from the B_GROUP1_05 disc.
c) Download and install the individual PTFs for your IBM i OS VRM and Java version and bit level that correspond to the SR FP level you would like to install.
To help find these PTFs (in most cases when the SR FP is not the GA version), search on the following strings to file appropriate PTFs. There are always 2 PTFs per SR FP level.
For Java 8.0 32 bit SR5 FP40 on IBM i 7.4, you would use these search strings...
JVA-RUN JDK 80-32 IBM Technology for Java SR5 FP40 IBM i 7.4
JVA-RUN JDK80 32 BIT IBM Technology for Java SR5FP40 IBM i 7.4
JVA-RUN JDK 80-32 IBM Technology for Java SR5 FP40 IBM i 7.4
JVA-RUN JDK80 32 BIT IBM Technology for Java SR5FP40 IBM i 7.4
For Java 8.0 64 bit SR5 FP35 on IBM i 7.3, you would use these search strings...
JVA-RUN JDK 80-64 IBM Technology for Java SR5 FP35 IBM i 7.3
JVA-RUN JDK80 64 BIT IBM Technology for Java SR5FP35 IBM i 7.3
JVA-RUN JDK80 64 BIT IBM Technology for Java SR5FP35 IBM i 7.3
You can also look at the bottom of the current SR FP PTF cover letters (available from the IBM i Java Group PTF cover letter) and look at the "Supersedes" section to identify the PTFs for the SR FP you wish to roll back to.
For example: IBM i 7.4 Java 8.0 32 bit SR6 FP20 PTF Cover Letters:
3) Use SAVLICPGM to save the 5770JV1 LPP Option(s) from a working IBM i partition and use RSTLICPGM on the non-working IBM i partition to restore the working 5770JV1 Option.
Use SAVLICPGM to save the 5770JV1 LPP Option(s) from another working IBM i partition or before you apply your IBM i Java PTFs. If you need to roll back after applying Java PTFs, you can uninstall the 5770JV1 LPP Option(s) and execute a RSTLICPGM from your original save or from the save from a working IBM i server. In the future, you can use the following procedure to "backup" your Java LPPs at their current SR FP level before applying Java PTFs.
Here is an example for the 5770JV1 Option 16 and 17 LPPs for Java 8.0 32 bit and 64 bit.
CRTSAVF QGPL/JV1OPT16
CRTSAVF QGPL/JV1OPT17
OR
CLRSAVF QGPL/JV1OPT16
CLRSAVF QGPL/JV1OPT17
SAVLICPGM LICPGM(5770JV1) DEV(*SAVF) OPTION(16) SAVF(QGPL/JV1OPT16)
SAVLICPGM LICPGM(5770JV1) DEV(*SAVF) OPTION(17) SAVF(QGPL/JV1OPT17)
This will save the JV1 LPP at its current SR FP level. If you need to roll back to the original SR FP level after applying Java PTFs, all you need to do is uninstall the JV1 LPP Option and then execute the appropriate RSTLICPGM to restore the LPP back to the original SR FP level the LPP was saved at.
DLTLICPGM LICPGM(5770JV1) OPTION(16)
DLTLICPGM LICPGM(5770JV1) OPTION(17)
RSTLICPGM LICPGM(5770JV1) DEV(*SAVF) OPTION(16) SAVF(QGPL/JV1OPT16)
RSTLICPGM LICPGM(5770JV1) DEV(*SAVF) OPTION(17) SAVF(QGPL/JV1OPT17)
RSTLICPGM LICPGM(5770JV1) DEV(*SAVF) OPTION(17) SAVF(QGPL/JV1OPT17)
Document Location
Worldwide
[{"Line of Business":{"code":"LOB68","label":"Power HW"},"Business Unit":{"code":"BU070","label":"IBM Infrastructure"},"Product":{"code":"SWG60","label":"IBM i"},"ARM Category":[{"code":"a8m0z0000000CH5AAM","label":"Java Development Kit"}],"ARM Case Number":"TS005069335","Platform":[{"code":"PF012","label":"IBM i"}],"Version":"All Version(s)"}]
Was this topic helpful?
Document Information
Modified date:
03 December 2024
UID
ibm16416713