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:
Java Development Kit (JDK) 1.6 or later. To download JDK, visit Java Downloads.
Apache Maven. To download Maven, visit Download Apache Maven.
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.