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

Presto Application Development Environment

Table 1 describes the local environment required for application development. You also need to prepare a Linux 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: Linux system

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.

Eclipse installation and configuration

Tool used for developing Presto applications. The version requirements are as follows:

  • The JDK version is 1.7, and the Eclipse version is 3.7.1 or later.
  • The JDK version is 1.8, and the Eclipse version is 4.3.2 or later.

Note:

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

Network

The client must be interconnected with the Presto server on the network.