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.
NoteJDK 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:
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-fc</artifactId>
<version>1.8.32</version>
</dependency>
When you install the SDK, modify the version information as required. For more information, visit com.aliyun:aliyun-java-sdk-fc.