Updating the Java version for IBM DB2 database

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.
To install the update package:
  1. Log in to your system as the root user, or use sudo - or the su - command to become the root user.
  2. 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:
    su - aiw1
    stopaiw
    db2stop force
    exit
  3. To check the currently installed Java version, open a command line and type:
    /opt/infoprint/ippd/db/java/jdk64/bin/java -version
  4. Copy the TGZ file that you downloaded from the RICOH Software website to /aiw/aiw1/tmp/ibmjava.
  5. 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 .tgz file.

    Compare the result with the value provided on the RICOH Software website. If the values do not match, download the package again.

  6. To unpack and install the new Java version, enter:
    cd /aiw/aiw1/tmp/ibmjava
    tar -xvf <file_name>.tgz -C /opt/infoprint/ippd/db/java
    cd /opt/infoprint/ippd/db/java
    mv jdk64 jdk64old
    mv ibm-java-x86_64-80 jdk64
    chown -R bin:bin jdk64
    where <file_name> is the name of the TGZ file.
  7. Switch to the aiw1 user and restart RICOH ProcessDirector:
    su - aiw1
    startaiw
  8. Verify the version of Java used by DB2:
    /opt/infoprint/ippd/db/java/jdk64/bin/java -version

    Output example:

    =====
    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 
    ===== 
    

  9. If the version is correct, you can safely delete the contents of the /aiw/aiw1/tmp/ibmjava and /opt/infoprint/ippd/db/java/jdk64old folders.