Using the AWS SDK for Java in Eclipse

By: Emiley J Emailed: 1697 times Printed: 2202 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 http://aws.amazon.com/eclipse 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, selectS3Sample.java.
  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

Comments(2)


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 )
How to Send SMS using Java Program (full code sample included)
Student marks calculation program in Java
XML and Java - Parsing XML using Java Tutorial
append() in Java
How to use ArrayList in Java
Garbage collection and Finalize() method
Using StringTokenizer in Java
Abstract classes in Java
Increment and Decrement Operator
Read from a COM port using Java program
Count number of vowels, consonants and digits in a String in Java
Integer: byte, short, int, and long data types in Java
indexOf( ) and lastIndexOf( ) in Java
Using toLowerCase( ) and toUpperCase( ) in Java
The Basic Structure of a Simple Java program
Most Emailed Articles (in Java)
How to use ArrayList in Java
Write to a COM port using Java program
Read from a COM port using Java program
How to access instance from an inner class and accessing outer class variables in java
Data Types in Java
Tomcat and httpd configured in port 8080 and 80
Save/Write/Read image file from/to a database using Java program
Java program for changeable wrapper class
History of Java
Method Overloading (function overloading) in Java
Sample Java program shows how to write to COM port using Java.
Sample program to demonstrate the use of ActionListener
Introducing JavaScript.
Assigning Object Reference Variables
Bitwise Operator Assignments