Updated on 2023-08-31 GMT+08:00

Preparing the Development Environment

Table 1 describes the environments required for application development.

Table 1 Development environments

Item

Description

Operating System (OS)

  • Development environment: Windows 7 or later.
  • Operating environment: Linux

If the program needs to be commissioned locally, the operating environment must be able to communicate with network on the cluster service plane.

JDK installation

Basic configurations of the development and operating environments. The version requirements are as follows:

The server and client support only built-in OpenJDK 1.8.0_272.

Customers' applications that need to reference the JAR files of SDK to run in the application processes support Oracle JDK, IBM JDK, and OpenJDK.

  • x86 client: Oracle JDK 1.8; IBM JDK 1.8.5.11
  • TaiShan client: OpenJDK 1.8.0_272
NOTE:

For security purposes, the server supports only TLS V1.2 or later.

By default, the IBM JDK supports only TLS V1.0. If the IBM JDK is used, set the startup parameter com.ibm.jsse2.overrideDefaultTLS to true. After the setting, the IBM JDK supports TLS V1.0, TLS V1.1, and TLS V1.2. For details, see https://www.ibm.com/support/knowledgecenter/SSYKE2_8.0.0/com.ibm.java.security.component.80.doc/security-component/jsse2Docs/matchsslcontext_tls.html#matchsslcontext_tls.

Installing and configuring IntelliJ IDEA

Basic configuration of the development environment. You are advised to use version 2019.1 or other compatible versions.

NOTE:
  • If you use IBM JDK, ensure that the JDK configured in IntelliJ IDEA is IBM JDK.
  • If you use Oracle JDK, ensure that the JDK configured in IntelliJ IDEA is Oracle JDK.
  • If you use Open JDK, ensure that the JDK configured in IntelliJ IDEA is Open JDK.
  • Do not use the same workspace and the sample project in the same path for different IntelliJ IDEA programs.

Apache Maven installation

Basic configuration of the development environment. This tool is used for project management throughout the lifecycle of software development.

Huawei provides an open-source mirror site, Huawei Mirrors. You can download the supportive JAR packages of the sample projects from this site. You can download the rest open-source JAR packages from the Maven central repository or other user-defined repositories. For details, see Configuring Huawei Open-Source Mirrors.

7-zip

Used to decompress *.zip and *.rar files. 7-Zip 16.04 is supported.