All Products
Search
Document Center

:Install the Java SDK

Last Updated:Mar 31, 2026

The Function Compute software development kit (SDK) for Java lets you call Function Compute APIs from your Java applications.

Prerequisites

Before you begin, ensure that you have:

Note

After installing JDK, run java -version to confirm the installed version.

Install the SDK

Add the SDK dependency to your build configuration.

Maven

Add the following dependency to your pom.xml file:

<dependency>
    <groupId>com.aliyun</groupId>
    <artifactId>aliyun-java-sdk-fc</artifactId>
    <version>1.8.32</version>
</dependency>

To use a different version, see com.aliyun:aliyun-java-sdk-fc on Maven Central for available releases.