IBM Support

DB2JAVIT : RC = 127 when starting a DB2 GUI tool

Troubleshooting


Problem

When starting a DB2 GUI tool, such as Control Center or Client Configuration Assistant, the following error occurs: sh: /usr/java131/jre/bin/java: not found DB2JAVIT : RC=127

Cause

The dbm cfg parameter, JDK_PATH, is set incorrectly.

Resolving The Problem

Determine the value of JDK_PATH by issuing the following from a DB2 command window:


    db2 get dbm cfg

and look for the following line:
    Java Development Kit installation path    (JDK_PATH) =

Update the JDK_PATH to point to the correct location of the java JDK.

Example:


    db2 update dbm cfg using JDK_PATH /usr/java14

[{"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"OTHER - Uncategorised","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.5;9.1;8","Edition":"Enterprise Server;Express;Personal;Workgroup Server","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
16 June 2018

UID

swg21377358