All Products
Search
Document Center

MaxCompute:Create a MaxCompute Java module

Last Updated:Aug 21, 2026

MaxCompute Studio lets you develop Java programs, such as user-defined functions (UDFs), MapReduce programs, and graph programs. To get started, create a MaxCompute Java module.

Prerequisites

Ensure that you are connected to a MaxCompute project. For more information, see Manage project connections.

Procedure

  1. From the top menu bar of IntelliJ IDEA, select File > New > Module....

  2. In the left navigation pane of the New Module dialog box, click MaxCompute Java.

  3. Set Module SDK to the path of your installed Java Development Kit (JDK), and then click Next.

  4. Enter a Module name, and then click Finish.

Result

After completing these steps, MaxCompute Studio automatically creates a Maven module and performs the following actions:

  • Imports the required MaxCompute dependencies. For details, see the pom.xml file.

  • Creates the examples directory, which contains sample code. For details, see Module directory.

  • Creates the warehouse directory to store data required for local debugging. For details, see Warehouse directory.

Next steps

After you create the MaxCompute Java module, you can start developing Java programs.