Introduction
Who should take this tutorial?
Take this tutorial if you have an interest in using the Eclipse IDE to develop Java applications, but have not yet used Eclipse. Although it is not required to be a Visual Studio developer to benefit from this tutorial, we will introduce Eclipse in the context of some Visual Studio concepts and terminology. Basic knowledge of Java™ technology is also helpful.
Eclipse is a free open source development environment. There are many projects that fall under the Eclipse umbrella, so it is also known as the Java Development Tools (JDT). This tutorial covers the basics of developing Java applications using the JDT, but as you work through it, it is useful to remember that Eclipse is also:
- An open platform for tool integration using an architecture that allows plug-ins to be discovered, integrated and executed at run time.
- A platform designed for easy extension by third parties.
- An IDE platform that has generalized interactions like managing resources, launching programs, and debugging capabilities.
- A growing set of projects that build on the core platform, such as the C/C++ Development Toolkit (CDT) and Web Tools Platform (WTP) Project.
- Core technologies, such as the Standard Widget Toolkit (SWT), that can be used separately from the rest of the platform.
To demonstrate the Eclipse IDE, this tutorial will guide you through the development of two stack classes written in the Java language. This will demonstrate how to:
- Install the Java SDK and the Eclipse IDE.
- Set up a Java project using Eclipse.
- Use the Java Editor to write Java code.
- Run and debug a program in Eclipse.
- Use some of Eclipse's productivity tools to streamline development.
The tutorial is geared toward the Visual Studio and Visual Studio .NET developer, so it assumes you will be running on Windows® (This tutorial will use the term Visual Studio to refer to both Visual Studio and Visual Studio .NET). However, because Java technology and Eclipse are available for many platforms, the tutorial can easily be followed for non-Windows platforms. The tutorial also assumes a basic knowledge of object-oriented concepts, such as inheritance, interfaces, and classes.
Before beginning, make sure you have downloaded and installed the following:
- The Java 2 Standard Edition Software Developers Kit (J2SE SDK), V1.4.2 or higher -- Run the setup and install the files to a location such as c:\j2sdk1.4.2.
- The Eclipse SDK V3.0.2 or later -- The Eclipse installation is distributed as a zip file. Unzip the contents to c:\Programs.

