Updated on 2022-09-14 GMT+08:00

Preparing Development and Operating Environment

Preparing Development Environment

Table 1 describes the local environment required for application development. You also need to prepare an environment for verifying whether the application is running properly.

Table 1 Development environment

Item

Description

OS

  • Development environment: Windows 7 or later version is recommended.
  • Operating environment: Windows OS or Linux OS.

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

JDK installation

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

  • The server and client of an MRS cluster support only built-in Oracle JDK 1.8, which cannot be replaced.
  • If users' applications need to reference the JAR files of the SDK class in the user application processes, Oracle JDK and IBM JDK are supported.
    • Oracle JDK versions: 1.7 and 1.8
    • IBM JDK versions: 1.7.8.10, 1.7.9.40, and 1.8.3.0

IntelliJ IDEA installation and configuration

It is the basic configuration for the development environment. 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.
  • Do not use the same workspace and the sample project in the same path for different IntelliJ IDEA programs.

Maven installation

Basic configuration of the development environment for project management throughout the lifecycle of software development.

User development preparation

See Preparing a Developer Account for configuration.

7-zip

Used to decompress .zip and .rar packages. The 7-zip 16.04 is supported.

Preparing an Operating Environment

During application development, you need to prepare a environment for verifying whether the application is running properly.

  • If the local Windows development environment can communicate with the cluster service plane network, configure the network connection, and commission the program in Windows.
  • If you use the Linux environment for commissioning, you need to prepare the Linux node.