Upgrade JDK - cws-khuntly/WebSphere GitHub Wiki


date: 2025-05-08 21:53:42 created: 2025-05-08 12:44:09 categories:

  • WebSphere / Installation Manager

Upgrade JDK

Copy the installation package to /var/tmp

Create the new directory

mkdir -pv /opt/IBM/IIM/eclipse/jre_8.0.8040.20250128_0059/jre

tar -C /opt/IBM/IIM/eclipse/jre_8.0.8040.20250128_0059/jre --strip-components=1 -xf /nfs/software/IBM/JDK/FP/FP40/ibm-java-sdk-8.0-8.40-linux-x86_64.tgz

cd /opt/IBM/IIM/eclipse

mv jre_8.0.8.40.20241212_83587 jre_8.0.8040.20241212_83587

for file in /opt/IBM/IIM/eclipse/IBMIM.ini /opt/IBM/IIM/eclipse/silent-install.ini /opt/IBM/IIM/eclipse/tools/imcl.ini /opt/IBM/IIM/eclipse/tools/imutilsc.ini /opt/IBM/IIM/eclipse/web/ibmim-web.ini; do

    sed -i.bk -e "s/jre_8.0.8030.20240821_1049/jre_8.0.8040.20250128_0059/g" ${file};

done

rm -rf /opt/IBM/IIM/eclipse/jre_8.0.8035.20241125_0150

Remove backup files (optional)

cd /opt/IBM/IIM; find . -type f -name \*.bk -exec rm -f {} \;;

CHECKPOINT

[Installation Manager](onenote:Backups.one#Installation Manager&section-id={326FB8FA-C19C-4573-9356-DE9E1AF03C90}&page-id={3E7CF052-9B1F-4312-818C-6DE2EA9D15F5}&end&base-path=C:\Repositories\WebSphere\Documentation\WebSphere\WebSphere)

⚠️ **GitHub.com Fallback** ⚠️