To use Alibaba Cloud E-MapReduce (EMR) SDK for Java, you must install both the core library of Alibaba Cloud SDK for Java and EMR SDK for Java. The core library package is aliyun-java-sdk-core, and the EMR SDK for Java package is aliyun-java-sdk-emr. We recommend that you use Maven to manage your projects.
Maven dependencies
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-core</artifactId>
<version>3.5.0</version>
</dependency>
<dependency>
<groupId>com.aliyun</groupId>
<artifactId>aliyun-java-sdk-emr</artifactId>
<version>3.1.0</version>
</dependency>