The graphical interface of DB2 cannot be called up in linux.

Source: Internet
Author: User
In linux, you cannot call up the graphical interface of DB2-general Linux technology-Linux technology and application information. The following is a detailed description. [Root @ DB2 bin] #./db2cc
Sh: java: command not found
DB2JAVIT: RC = 127.

Linux cannot call up the DB2 graphical interface. After su to db2inst, it executes db2cc and encounters the RC = 127 problem.

Solution:

You need to install the IBMJava2-142-ia32-SDK-1.4.2-1.0.i386.rpm, and then update dbm cfg to modify JDK_PATH and point to it.

$ Db2 update dbm cfg using JDK_PATH/opt/IBMJava2-142

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.