Updated on 2024-09-04 GMT+08:00

Installing JDK

This action aims to install JDK on a host. The following figure shows the configuration page.

Table 1 Parameters

Parameter

Description

Action Name

Name of an added deployment action. Max 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./().

Environment

Select a host cluster as the deployment object.

JDK Version

JDK version.

Installation Path

Installation path of JDK.

Control Options

  • Enable this action.
  • Continue the task even if this action fails.
  • Execute this action with the sudo permission.

When purchasing a Huawei Cloud ECS, you are advised to select CentOS, Ubuntu, or Huawei Cloud EulerOS based on Arm. EulerOS based on Arm does not have the yum source of openjdk-11.

If you encounter any problem during deployment, see Solutions to Common Problems.