Using the AWS SDK for Java in Eclipse

By: Emiley J Emailed: 1728 times Printed: 2329 times    

Latest comments
By: rohit kumar - how this program is work
By: Kirti - Hi..thx for the hadoop in
By: Spijker - I have altered the code a
By: ali mohammed - why we use the java in ne
By: ali mohammed - why we use the java in ne
By: mizhelle - when I exported the data
By: raul - no output as well, i'm ge
By: Rajesh - thanx very much...
By: Suindu De - Suppose we are executing

If you use the AWS Toolkit for Eclipse, you can also start a new project in Eclipse based on the AWS SDK for Java or add the SDK to an existing Java project.

Install the AWS Toolkit for Eclipse

See for information about downloading and installing the AWS Toolkit for Eclipse.

NOTE: After installing the AWS Toolkit for Eclipse, we recommend configuring the toolkit with your security credentials. You can do this anytime by selecting Preferences from the Window menu in Eclipse, and then selecting the AWS Toolkit section.

To start a New Project

  1. Open Eclipse.
  2. Create a new AWS Java project by pointing to File -> New -> Project. The New Project wizard opens.
  3. Expand the AWS category, then select AWS Java Project.

  4. Click Next. The project settings page is displayed.

  5. Enter a name in the Project Name box. The AWS SDK for Java Samples group displays the samples available in the SDK, as described above.
  6. Select the samples you want to include in your project by selecting each check box.
  7. Enter your AWS credentials. If you’ve already configured the AWS Toolkit for Eclipse with your credentials, this is automatically filled in.
  8. Click Finish. The project is created and added to the Project explorer.

To run the Project

  1. Select the sample .java file you want to run. For example, for the Amazon S3 sample,
  2. Select Run from the Run menu.

To add the SDK to an existing project

  1. Right-click the project in the Project Explorer, then select Build Path -> Add Libraries….
  2. Select AWS Java SDK, then click Next and follow the remaining on-screen instructions.

Java Home | All Java Tutorials | Latest Java Tutorials

Sponsored Links

If this tutorial doesn't answer your question, or you have a specific question, just ask an expert here. Post your question to get a direct answer.

Bookmark and Share


1. View Comment

What is AWS?

View Tutorial          By: Toja at 2013-01-22 10:36:45
2. View Comment

Ask to google.

View Tutorial          By: John at 2013-05-03 22:58:23

Your name (required):

Your email(required, will not be shown to the public):

Your sites URL (optional):

Your comments:

More Tutorials by Emiley J
Password must include both numeric and alphabetic characters - Magento
What is Hadoop?
Returning multiple values from a web service
Tomcat and httpd configured in port 8080 and 80
Java Webservices using Netbeans and Tomcat
Java WebService connected to Database
How to Deploy a Java Web Service
Call a webservice in Java
Java WebService - Create your first web service in Java
package javax.jws does not exist
Getting Started with Android
HTML5 Location - getCurrentPosition() in HTML5
HTML5 Canvas - Using Canvas in HTML5
HTML5 - Introduction
HTML5 Video - Handling video in HTML5

More Tutorials in Java
Update contents of a file within a jar file
Tomcat and httpd configured in port 8080 and 80
Java File
Java String
Count number of vowels, consonants and digits in a String in Java
Reverse a number in Java
Student marks calculation program in Java
Handling Fractions in Java
Calculate gross salary in Java
Calculate average sale of the week in Java
Vector in Java - Sample Program
MultiLevel Inheritance sample in Java
Multiple Inheritance sample in Java
Java program using Method Overriding
Java program to check if user input is an even number

More Latest News
Most Viewed Articles (in Java )
Method Overloading (function overloading) in Java
XML and Java - Parsing XML using Java Tutorial
How to Send SMS using Java Program (full code sample included)
FileReader and FileWriter example program in Java
Vector example in Java
Method Overriding in Java
What is Java?
Stack example in Java - push(), pop(), empty(), search()
Read from a COM port using Java program
The Basic Structure of a Simple Java program
arraycopy example in Java
append() in Java
Student marks calculation program in Java
for loop in java
Calendar - sample program in Java
Most Emailed Articles (in Java)
Applet Notinited : Applet xxxxxxxxxxxx notinited
Basics of Exception Handling in Java
Tomcat and httpd configured in port 8080 and 80
Calculate average sale of the week in Java
Vector in Java - Sample Program
LinkedList in Java
Taking the size of an Array at runtime & generate random numbers to populate the Array
Getting Started with Java
Configuring a DataSource in Tomcat
What is JasperReports?
java.lang.reflect package
instanceof operator example in Java
The Unary Operators example in Java
Operator Precedence in Java
toRadians() and toDegrees() Sample program in Java