Updating the Java version for IBM DB2
Keep your system secure and compatible by updating to the latest supported Java version
for the IBM DB2 database. This ensures you have the newest features, performance improvements,
and security fixes.
- Important:
- Take a snapshot or backup of the RICOH ProcessDirector system to avoid data loss.
- Verify that antivirus or other security software that locks and scans files is still disabled on the RICOH ProcessDirector system.
- You must contact Ricoh support for an update package for the Java Runtime Environment installed with DB2. You cannot use the same Java update package for both the RICOH ProcessDirector and the DB2 versions of Java.
To update the Java version for IBM DB2:
- Log in to your system as the root user, or use sudo - or the su - command to become the root user.
- In a command prompt, use these commands to switch to the aiw1 user, stop RICOH ProcessDirector as aiw1 user, and force stop any DB2 processes:
- To check the currently installed Java version, open a command line and type: /opt/infoprint/ippd/db/java/jdk64/bin/java -version
- Copy the
TGZfile that you received from Ricoh support to:/aiw/aiw1/tmp/ibmjava - To generate the MD5 checksum of the package, enter:md5sum /aiw/aiw1/tmp/ibmjava/<file_name>.tgz
where <file_name> is the name of the
TGZfile.Compare the result with the value provided by Ricoh support. If the values do not match, download the package again.
- To unpack and install the new Java version, enter:
- Switch to the
aiw1user and restart RICOH ProcessDirector: - Verify the version of Java used by DB2:/opt/infoprint/ippd/db/java/jdk64/bin/java -version
===== java version "1.8.0_431" Java(TM) SE Runtime Environment (build 8.0.8.35 - pxa6480sr8fp35-20241105_01(SR8 FP35)) IBM J9 VM (build 2.9, JRE 1.8.0 Linux amd64-64-Bit Compressed References 20240926_78736 (JIT enabled, AOT enabled) OpenJ9 - 8ce0d57a2f6 OMR - 8eaf1a20f IBM - dd9cff8) JCL - 20241016_01 based on Oracle jdk8u431-b10 ===== - If the version is correct, you can safely delete the contents of the
/aiw/aiw1/tmp/ibmjavaand/opt/infoprint/ippd/db/java/jdk64oldfolders.