Updated on 2024-08-10 GMT+08:00

Preparing the Environment

Table 1 describes the environment required for application development.

Table 1 Development environment

Item

Description

OS

  • Development environment: Windows 7 or later versions
  • Operating environment: Windows or 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

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. Other JDKs cannot be used.

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.

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.

IntelliJ IDEA

Tool used for developing IoTDB applications. The version must be 2019.1 or other compatible version.

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 OpenJDK, ensure that the JDK configured in IntelliJ IDEA is OpenJDK.
  • Do not use the same workspace or the sample project in the same path for different IntelliJ IDEA programs.

Maven

Basic configurations of the development environment. Maven is used for project management throughout the lifecycle of software development.

Huawei provides an open-source mirror site, Huawei Mirrors. You can download the dependent 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 Image Repository

7-zip

This tool is used to decompress *.zip and *.rar files. 7-zip 16.04 is supported.