Free tutorials for Java, Eclipse and Web programming



Eclipse Java IDE - Tutorial

Lars Vogel

Version 1.6

30.12.2009

Revision History
Revision 0.118.07.2007Lars Vogel
Created.
Revision 0.2 - 0.718.05.2008Lars Vogel
Several reworks.
Revision 0.7.113.04.2009Lars Vogel
Added Shortcut
Revision 0.825.05.2009Lars Vogel
Update to Eclipse 3.5 (Galileo)
Revision 0.921.06.2009Lars Vogel
Moved Shortcuts to own article under http://www.vogella.de/articles/EclipseShortcuts/article.html
Revision 1.022.06.2009Lars Vogel
Moved Debugging to own article under http://www.vogella.de/articles/EclipseDebugging/article.html
Revision 1.128.06.2009Lars Vogel
Re-org article, own chapter for update manager, simplified views / editor description
Revision 1.212.07.2009Lars Vogel
Screenshot for link with editor
Revision 1.318.07.2009Lars Vogel
Added link to example with jars, changed from XML templates to Java template
Revision 1.402.08.2009Lars Vogel
more details on first Java program
Revision 1.501.11.2009Lars Vogel
Renamed first project, added details for jar handling
Revision 1.630.12.2009Lars Vogel
fixed package name in Java program outside Eclipse

Eclipse Java IDE

This article describes the usage of Eclipse as a Java IDE. It describes the installation of Eclipse, the creation of Java programs, the usage of external jars, quick fix and content assist and the usage of the Eclipse update manager.

This article is based on Eclipse 3.5 (Eclipse Galileo).


Table of Contents

1. Eclipse Overview
2. Getting started
2.1. Installation
2.2. Start Eclipse
3. Eclipse UI Overview
3.1. Workspace
3.2. Perspective
3.3. Views and Editors
4. Create your first Java program
4.1. Create project
4.2. Create package
4.3. Create Java class
4.4. Run your project in Eclipse
4.5. Run your Java program outside Eclipse (create jar file)
4.6. Run your program outside Eclipse
5. Content Assists and Quick Fix
5.1. Content assist
5.2. Quick Fix
6. Using jars (libraries)
6.1. Adding external library (.jar ) to the Java classpath
6.2. Show source code for jar
6.3. Add the Javadoc for a jar
7. Updates and Installation of Plugins
7.1. Eclipse Update Manager
7.2. Manual installation of plugins (dropins folder)
8. More Tips
8.1. Problems view
8.2. Important Preference Settings
8.3. Task Management
8.4. Working Sets
8.5. Synchronize package explorer with code display
8.6. Code Templates
9. Next steps
10. Thank you
11. Questions and Discussion
12. Links and Literature
12.1. Source Code
12.2. Eclipse Resources
12.3. Other Resources

1. Eclipse Overview

Eclipse an open source community whose projects building tools and frameworks for creating general purpose application.

The most popular usage of Eclipse is as a Java development environment which will be described in this article.