How to work on Eclipse

How to work on Eclipse
Written by anjali

How to work on Eclipse

For Java and other programming languages including C, C++, PHP, Ruby, etc., Eclipse serves as an integrated development environment (IDE). Eclipse PDT for PHP are only a few of the development tools offered by Eclipse.

What is Eclipse?

For creating applications utilising the Java programming language as well as other programming languages like C/C++, Python, PERL, Ruby, etc., Eclipse is an integrated development environment (IDE).

The Eclipse platform, which serves as the basis for the Eclipse IDE, is made up of plug-ins and may be expanded by adding new plug-ins. The Eclipse platform was created using Java, and it may be used to create integrated development environments, rich client applications, and other tools. Any programming language for which a plug-in is available can be used as an IDE with Eclipse.

Download Eclipse

Eclipse is available for download at

Each Eclipse packing has a separate set of features. For creating Java applications, Java developers often utilise Eclipse Classic or Eclipse IDE.

Installation of Eclipse

You require a tool that can extract the contents of a zip file in order to instal on Windows.


Eclipse window components

The main components of an eclipse window that are visible are:

  • Views
  • Editors (all appear in one editor area)
  • Menu Bar
  • Toolbar

An initial grouping and arrangement of views as well as an editor area are referred to as an eclipse viewpoint. The Java perspective is the standard viewpoint. Multiple viewpoints may be open in an eclipse window, but only one may be active at any given moment. A user has the option to launch a new perspective or move between open perspectives. What appears in some menus and tool bars depends on the perspective.

There is only one editor area per perspective, while numerous editors may be active at once. Usually, there are several perspectives all around the editor area. Editors are typically used to change project data, and views are typically used to see project metadata.

Multiple editors and views may be present in the eclipse window, but only one of them is ever active at once. The active editor or view’s title bar is distinct from the others in appearance.

Eclipse Menus

The typical menus present on an Eclipse window’s menu bar are as follows:

  • File menu
  • Edit menu
  • Navigate menu
  • Search menu
  • Project menu
  • Run menu
  • Window menu
  • Help menu

1.File:You can rename files, close editors, open files for editing, and save editor information using the File menu. It also enables you to shutdown Eclipse and import and export workspace content, among other things.

2.Edit:There are options like copy and paste on the Edit menu.

3.Source:Only when a Java editor is open does the Source menu become available. It offers several helpful menu options for editing Java source code.

4.Navigate:You may identify resources easily and navigate to them using the Navigate menu.

5.Search:You can search the workspace for files that contain particular data using the options in the Search menu

6.Project:The Project menu is where you’ll find the options for creating a project.

7.Run:You can start a programme in the run mode or the debug mode using the menu options on the Run menu. Additionally, it offers menu options that let you inspect the code.

8.Window:You can open and close views and perspectives using the Window menu.

9.Help:The Eclipse Marketplace view, the Help window, and installing new plug-ins can all be accessed via the Help menu.

Read ABout:Eclipse


Users can examine a graphic depiction of project metadata using Eclipse views.

Any number of views and editors can be displayed in an eclipse viewpoint. While views are stored inside view folders, all editor instances are displayed in a single editing area. Any number of view folders may be displayed in a workbench window. One or more views may be displayed in each view folder.

Moving Views

Simply click on the view title and drag it to the title bar area of another view folder to relocate a view from one view folder to another. Dragging the Properties view’s title bar from one view folder to the title bar region of another view folder produces the green line that is displayed below. By letting go of the mouse button and sending a drop event, the Properties view can be relocated to the location of the green line.

Creating View Folders

Dragging the title bar of one view to a location outside the editing area and the title bar of another view folder will dynamically generate a new view folder. Green lines will show you where the new view folder will be generated when you move the title bar around.


An initial grouping and arrangement of views as well as an editor area are referred to as an eclipse viewpoint. The Java perspective is the standard viewpoint. Although there may be several viewpoints open in an eclipse window at any given moment, only one is ever active. A user has the option to launch a new perspective or move between open perspectives. What appears in some menus and tool bars is determined on the active perspective.

launching the wizard for a new Java project

1.A new Java project can be made using the New Java Project wizard. This wizard can be accessed in a variety of ways.

2.By selecting New Java Project from the File menu by clicking on it.

3.By selecting New Java Project with a right-click anywhere in the Project Explorer.

4.Java Project can be chosen by clicking the New button (New Button) in the Tool bar.

Using the wizard for new Java projects using the wizard for new Java projects

There are two pages in the New Java Project Wizard. On the opening page,

1.Type the Project Name here.

2.Java Runtime Environment (JRE) can be chosen or left to default.

3.Determine whether a separate folder will be created for the source codes and class files by choosing the project layout. It is advised to divide the sources and class files into their own folders.

Also Read:About VS Code

About the author


Leave a Comment