General Process of Creating Java Code Examples 1 Create an AWS credentials profile file as described in Set Up your AWS Credentials for Use with the AWS SDK for Java in the AWS SDK for Java Developer Guide. 2 Create a new AWS Java project in Eclipse. The project is pre-configured with the AWS SDK for Java. 3 Copy the code from the section you are reading to your project. 4 Update the code by providing any required data. For example, if uploading a file, provide the file path and the bucket name. 5 Run the code. Verify that the object is created by using the AWS Management Console. For more information about the AWS Management Console, go to https://aws.amazon.com/console/.