IBM Support

DB2JAVIT : RC = 127 when starting a DB2 GUI tool

Technote (troubleshooting)


Problem(Abstract)

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

Document information

More support for: DB2 for Linux, UNIX and Windows
OTHER - Uncategorised

Software version: 8, 9.1, 9.5

Operating system(s): AIX, HP-UX, Linux, Solaris, Windows

Software edition: Enterprise Server, Express, Personal, Workgroup Server

Reference #: 1377358

Modified date: 20 September 2013