All Products
Document Center

Function Compute (2.0):Install the SDK for Java

Last Updated:Jul 06, 2023

This topic describes how to install Function Compute SDK for Java.

Prepare the environment

  • Install Java Development Kit (JDK). For more information, visit Java Downloads.


    JDK 1.6 or later is required. After you install JDK, you can run the java -version command to check the installed version.

  • Install Maven. For more information, visit Download Apache Maven.

Install the SDK

Add the following dependency to the pom.xml file:


When you install the SDK, modify the version information as required. For more information, visit com.aliyun:aliyun-java-sdk-fc.