All Products
Search
Document Center

MaxCompute:Create a MaxCompute Java module

Last Updated:Mar 26, 2026

MaxCompute Studio lets you develop Java user-defined functions (UDFs), MapReduce programs, and Graph programs. Before starting development, create a MaxCompute Java module in IntelliJ IDEA to set up the required project structure and dependencies.

Prerequisites

Before you begin, make sure you have:

Create a MaxCompute Java module

  1. In the IntelliJ IDEA top navigation bar, choose File > New > Module.

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

  3. Set Module SDK to your JDK installation directory, then click Next.

  4. Enter a Module name and click Finish.

Result

MaxCompute Studio automatically creates a Maven module with the following structure:

  • MaxCompute dependencies: Added to pom.xml. Open the POM file to view the full dependency list.

  • `examples` folder: Contains sample code. For the full directory reference, see Module directory.

  • `warehouse` folder: Stores test data for local debugging. See warehouse directory for details on how local debugging uses this folder.

What's next

With the module created, start developing Java programs: