Please apply version JDK 6 or above.
To apply S3 Java SDK to the Maven project, add corresponding dependencies to pom.xml. Take version
1.11.140 as an example. Add the following contents to
<dependency> <groupId>com.amazonaws</groupId> <artifactId>aws-java-sdk-s3</artifactId> <version>1.11.490</version> </dependency>
The steps are as follows:
Load the AWS Java SDK software development kit.
Unzip the SDK.
Copy the file
aws-java-sdk-<versionId>.jar under the extracted folder and all the files under the lib folder into your project.
Select your project in the Eclipse, right click to select Properties > Java Build Path > Libraries > Add JARs.
Select all JAR files you copied in Step 3 and import them into Libraries.