Installing Java on RHEL or CentOS Linux

IBM Data Collector requires IBM® SDK, Java™ Technology Edition, Version 8, 64-bit.

About this task

Data Collector supports IBM SDK, Java Technology Edition, Version 8.0-6 and later.

Procedure

  1. Go to https://www.ibm.com/support/pages/java-sdk-downloads-version-80, and download the SDK version of the Linux® on x86 systems 64-bit installation package.
  2. Copy the installation package to your computer or VM where you plan to install the Data Collector, and then complete the remaining steps on that computer or VM.
  3. To install Java, run the following command:
    Tip: Click the Copy to clipboard icon at the upper right of your code block, then replace the <version> value with the correct version number for the installable package, such as 7.16. Then, you can run the command.
    yum -y install ibm-java-x86_64-sdk.<version>.x86_64.rpm

    Use the default installation location, which is /opt/ibm/java-x86_64-80/.

    For more information about installing and configuring IBM SDK, Java Technology Edition, Version 8, see the SDK User Guide (https://www.ibm.com/support/knowledgecenter/en/SSYKE2_8.0.0).

Results

After a successful installation, you receive a message that says Congratulations, IBM 64-bit for Linux v8.0 has been successfully installed to: <location>.
Tip: If you encounter errors when you install the IBM Java SDK, you can enable debug mode for your environment. For more information about enabling this mode, see How to debug InstallAnywhere when installing Connect Java based products.
The installer extracts and runs modules in the system's temp directory (typically /tmp). If the debug messages suggest a permissions issue, you can use the following command to use the root home directory during installation:
export IATEMPDIR=/root/

What to do next

After you install Java, you can install and register Data Collector. For more information, see Installing and registering Data Collector by using the Data Collector installer package or Installing and registering Data Collector manually.