Updated on 2025-07-03 GMT+08:00

Installing JDK

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

Table 1 Parameters for installing JDK

Parameter

Mandatory

Description

Action Name

Yes

Customized action name displayed in the deployment actions Enter 1 to 128 characters. Do not start or end with a space. Use letters, digits, spaces, and these special characters: -_,;:./()

Environment

Yes

Select a host cluster as the deployment object.

JDK Version

Yes

JDK version.

Installation Path

Yes

Installation path of JDK.

Action Control

No

You can configure whether to enable this setting.

  • Keep running on failure: whether to continue the task even if this action fails.
  • Execute this action with the sudo permission: whether to use the sudo permission to deploy this action.

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.