Setting up Eclipse

Rate this post

Eclipse is an Integrated Development Environment (IDE) mainly used for Java programming. Eclipse is open source and can be extended with additional plug-ins. Those plug-ins can be used through the entire software development cycle. By the end of this tutorial you have installed Eclipse and you became familiar with some Java concepts, like: workspace, perspectives and projects.

  • A workspace is a collection of projects. It specifies a directory where your work will be stored.
  • A perspective is a set of views. You can specify a perspective by the nature of the project.
  • A project will contain your classes and other source files.

Prerequisites

Make sure you have installed the latest Java Development Kit (JDK). There are multiple sources for a JRE/JDK. A couple of them are listed below in alphabetical order:

  • IBM JDK
  • OpenJDK
  • Oracle JDK

In practice

  1. Download the Eclipse (Eclipse IDE for Java Developers) version for the appropriate xx-bit version, from the website: http://www.eclipse.org/downloads/ . As a rule of thumb eclipse designed for a 64-bit system won’t work on a 32-bit system.
  2. Decompress the just downloaded compressed file into a directory of your choice (for example: C:\eclipse) . Eclipse doesn’t need to be installed, only decompressed.
  3. Use C:\eclipse\eclipse.exe to start eclipse.
  4. You will see a dialog that allows you to select the directory where the workspace will be.
  5. Select the Java EE or Java perspective from the right top corner.

    perspective

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.