Upgrading your JDK (Windows and UNIX)

Sometimes you need to upgrade your JDK version to support a new version of Sterling B2B Integrator.

If you have V5.2.4.1 or higher installed, you can use the upgradeJDK script to upgrade your version of the JDK. See bin Directory Files for more information.

If you have V5.2.4.0 or lower installed, follow the steps below to upgrade your JDK.

  1. Download the new JCE file. For example, the unrestrictedpolicyfiles.zip policy file for the IBM JDK.
  2. Back up the existing JDK in <Install Dir>/jdk. Change the folder name to jdk_back)
  3. Copy the new IBM JDK (1.7.0 ) folder to the installation Directory. Directory Name should be jdk )
  4. Copy all the jars present in <Install Dir >jdk_back\jre\lib\ext to <install Dir>jdk\jre\lib\ext directory.
  5. If your installation of V5.2.4 or lower was built using the Oracle (SUN) JDK, continue to the next step. Otherwise skip to step 6.
    1. Edit the sandbox.cfg property file.
    2. Set JCE_DIST_FILE=<New Path of Supported JCE File>. For example, JCE_DIST_FILE=D\:\\IBM\\unrestrictedpolicyfiles.zip.
    3. Back up the local_policy.jar and US_export_policy.jar files present in <Install Dir>jdk\jre\lib\security.
    4. Unzip the new JCE file. For example, unrestrictedpolicyfiles.zip file. Copy local_policy.jar and US_export_policy.jar to <Install Dir>jdk\jre\lib\security.
  6. Run ./updateJavaSecurity.sh <jdk directory>[full_path_to_jce_file].
  7. Verify that security providers have been updated in <Install Dir>\jdk\jre\lib\security\java.security.
  8. Follow the Upgrade Guide instructions for your upgrade scenario.