MaxCompute Studio allows you to develop Java user-defined functions (UDFs), MapReduce programs, and Graph programs. Before the development, you must create a MaxCompute Java module. This topic describes how to create a MaxCompute Java module.


A MaxCompute project is connected. For more information, see Manage project connections.


  1. Start IntelliJ IDEA. In the top navigation bar, choose File > New > Module.
  2. In the left-side navigation pane of the New Module dialog box, click MaxCompute Java.
  3. Configure the directory of the Module SDK file and click Next.
  4. Specify Module name and click Finish.


After the preceding steps are complete, MaxCompute Studio automatically creates a Maven module and completes the following actions:
  • Introduces MaxCompute-related dependencies. For more information, see the POM file that contains the dependencies.
  • Creates the examples folder to store sample code. For more information, see Module directory.
  • Creates the warehouse folder to store the data required for local debugging. For more information, see warehouse directory.

What to do next

After you create a MaxCompute Java module, you can develop Java programs. For more information, see the following topics: