Updating the JDK after installation

If the Commerce Call Center installation directory contains a JDK, you can use the updateJDK tool to update the JDK in the Commerce Call Center run time.

About this task

For example, if you upgrade the JDK to a new version, you must replace the JDK in the Commerce Call Center run time with the new version JDK.
Note:
  • The updateJDK tool is available with Commerce Call Center V9.4, fix pack 7 (or later).
  • If your Commerce Call Center installation directory does not contain a JDK, you cannot use the updateJDK tool to update your JDK for Commerce Call Center. Instead, copy the following jar files, which are included in the IBM Commerce Call Center software installer image, to the <JAVA_HOME>/jre/lib/endorsed directory:
    • serializer.jar
    • xalan.jar
    • xercesImpl.jar
    • xml-apis.jar
    If the endorsed directory is not present in <JAVA_HOME>/jre/lib, create a new directory and name it endorsed.

Procedure

  1. In the <INSTALL_DIR>/bin directory, invoke the following command:
    • Windows updateJDK.cmd REPLACE <path to new JDK>
    • UNIXLINUX updateJDK.sh REPLACE <path to new JDK>

    where,

    <path to new JDK> is the location of the new version JDK.

    The updateJDK REPLACE command performs the following tasks:
    • moves the existing JDK from <INSTALL_DIR>/bin/jdk to <INSTALL_DIR>/bin/jdk_<timestamp>

      where,

      <timestamp> is the time when jdk_<timestamp> is created.

      If you want to restore the old JDK for any reason, you can locate the directory at <INSTALL_DIR>/bin/jdk_timestamp.

    • copies <path to new JDK> to <INSTALL_DIR>/bin/jdk.
    • copies the following jar files into <INSTALL_DIR>/bin/jdk/jre/lib/endorsed:
      • serializer.jar
      • xalan.jar
      • xercesimpl.jar
      • xml-apis.jar
  2. To verify the Java version that Commerce Call Center is using, go to the <INSTALL_DIR>/bin directory and run the ./setupfiles.sh command for Linux or the setupfiles.cmd command for Windows.