- Details
- Written by Nam Ha Minh
- Last Updated on 07 August 2019 | Print Email
1. Download and Install Eclipse
Eclipse IDE is available on major operating systems: Windows, Mac OS X and Linux. It supports both 32 and 64-bit CPU architecture. Eclipse IDE is a Java-based application so it requires JDK/JRE installed first.You can download and install Eclipse in one of two ways: using an installer or download a ZIP package.Download and Install Eclipse IDE using Eclipse Installer:In this way, you download a small program called Eclipse Installer. Run this program and choose a package you want to install:Due to more features of Eclipse IDE for Java EE Developers than Eclipse IDE for Java Developers this release is available; see the full features comparison of all versions here. Get editions of Linux and Mac, as well as other proprietary versions of the various programming languages here. Eclipse IDE for Scout Developers. 280 MB; 2,424 DOWNLOADS; Eclipse Scout is a Java/HTML5 framework to develop business applications that run on the desktop, on tablets and mobile devices. This package includes Eclipse IDE support for Scout developers and source code. The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 375 open source projects, including runtimes, tools and frameworks.
- Download the latest version of Eclipse IDE for Mac - Extensible Java IDE for development of highly integrated tools. Read 6 user reviews of Eclipse IDE on MacUpdate.
- Download the latest version of Eclipse IDE for Java EE Developers for Mac. Integrated development environment for Java and other languages. Eclipse IDE for.
2. Workbench
A window instance of the IDE is referred to as the Workbench. A workbench window consists of one or more Perspectives. And a perspective contains Editors and Views.You can open multiple workbench windows simultaneously (via menu Window > New Window). For example, when you are working on two projects - you can open two workbenches - each for one project. But all workbenches are used for only one Workspace.3. Workspace
Workspace is a directory on your computer - where the projects are stored. You must choose a workspace when starting Eclipse:There can be one or more projects in a workspace - which means you can work with multiple projects simultaneously. However, you can work in one only workspace in a working session of Eclipse. And to switch to another workspace, click File > Switch Workspace from the main menu.Eclipse stores preferences separately for each workspace in the .metadatadirectory in the workspace’s root. That means each workspace has its own settings for layouts, JDKs, servers, etc.So you use a workspace to group related projects that share common settings. For example, you can create a workspace (create a directory) for developing an application that consists of several projects; a workspace for Swing projects; a workspace for Java EE projects; a workspace for Spring projects, and so on.The following screenshot shows multiple projects listed in the current workspace:4. Perspectives
In Eclipse, a perspective provides initial layout that is organized to help programmers accomplish a task or work. Each perspective contains a different set of editors and views. For example, the Java perspective contains the following editors and views:- Java Editors: for editing Java source files.
- Package Explorer: allows you to navigate the projects.
- Outline: displays the structure of source file in the active editor.
- Problems: shows errors, warnings and problems detected.
- Javadoc: allows you to preview Javadoc of a class, method, field…
- Declaration: shows declaration statement for the variable at the cursor position.
- Task List: displays tasks downloaded from a popular bug tracker tool like Bugzilla, Mantis…
The following screenshot is of a Java perspective:When you are working in the perspective, you and open more editors and views when needed, but initially a perspective contains a fixed set of editors and views. The toolbars and menu items are also changed according to the purpose of the current active perspective.And this is the Debug perspective that allows you to debug a running program:By default, Eclipse provides several perspectives, as shown below:You can see this list when opening a perspective from the menu Window > Perspective > Open Perspective > Other…For Java development, you use only few perspectives most of the time, e.g. Java, Java EE and Debug. If you use version control, then you will frequently switch to Git or Team Synchronizing perspectives.In Eclipse, you can switch among opened perspectives by clicking on the perspective icons in the toolbar or by pressing the shortcut Ctrl + F8. You can open perspectives in the same workbench window (default) or in new windows.Note that different perspectives can have different views but they all share the same editors.You can customize a perspective, e.g. arrange views and editors in the way you like, and save it as your own perspective.To reset the active perspective to its default layout, click Window > Perspective > Reset Perspective…5. Editors
An editor allows you to edit a source file. For example, when you double-click a .javafile in the Project Explorer/Package Explorer view, a Java editor is opened in the editor area which is usually at the center of the workbench:Notice the gray border at the left margin of the editor area may show small icons to indicate errors, warnings, problems and information at the corresponding line.Each type of find can be opened with the associated editor. If Eclipse doesn’t have associated editor for a file type, it will try to open using an external program available in the operating system.There can be multiple editors opened and they are stacked in the editor area, but only one editor is active at a time. The name of the file is displayed in the title bar of the editor, and the asterisk (*) indicates that the editor has unsaved changes.In Eclipse, you can use the shortcut Ctrl + F6 to switch among editors.6. Views
A view allows you to navigate the information in the workbench. For example, in the Project Explorer view, you can navigate the structure of projects in a workspace:A view also provides alternative representation to support an editor. For example, the Outline view displays structural elements of the source file in the active editor. So if you are editing a .javafile, it displays the classes, fields and methods of that file:Using the Outline view, you can quickly jump to an element in the source file.You can resize, move, minimize and maximize views in a perspective. A view can be detached from the workbench and becomes a floating window (right-click on a view’s title bar and click Detach).A view has a pull-down menu that offers actions allowing you to customize the representation of the view. You can access this menu by clicking on the down arrow at the top right corner of the view. For example, the following screenshot shows the pull-down menu of the Project Explorer view:To open a view in Eclipse, click Window > Show View. And to switch among opened views, press Ctrl + F7.7. Toolbars
The last visual component I want to tell you in Eclipse is the toolbars. There are 4 kinds of toolbars in Eclipse:- Main toolbar: appears below the main menu, the main toolbar consists of buttons that are grouped into different sections: Open/create/save project, Run, Debug, Navigation, Search…The buttons vary depending on the current perspective.a
- Individual view toolbar: a view can have its own toolbar in its title bar area or at the top-right corner. For example, you can see the toolbar of the Servers view in this screenshot:- Perspective switcher toolbar: this toolbar contains buttons that allow you to switch among opened perspectives in the workbench. You can see this toolbar at the right side of the main toolbar:It also contains a button (the left most one) that allows you to open the list of all perspectives.- View stack toolbar: this is a special toolbar which appears when you minimize a view in a view stack. The icons on this toolbar allow you to open an individual view in the stack. For example, here’s the toolbar appears when the Console view is minimized:So far you have got familiar with the key concepts and components in Eclipse IDE. By understanding them, you know how to use the IDE properly and effectively.Other Eclipse Tutorials:
About the Author:
Nam Ha Minh is certified Java programmer (SCJP and SCWCD). He started programming with Java in the time of Java 1.4 and has been falling in love with Java since then. Make friend with him on Facebook and watch his Java videos you YouTube.Eclipse IDE for Java EE Developers
- 304 MB
- 1,653,850 DOWNLOADS
Tools for Java developers creating Java EE and Web applications, including a Java IDE, tools for Java EE, JPA, JSF, Mylyn, EGit and others.
Eclipse IDE for Java Developers
- 161 MB
- 757,975 DOWNLOADS
The essential tools for any Java developer, including a Java IDE, a Git client, XML Editor, Mylyn, Maven and Gradle integration
Eclipse IDE for C/C++ Developers
- 182 MB
- 215,366 DOWNLOADS
An IDE for C/C++ developers with Mylyn integration.
Eclipse for Android Developers (includes Incubating components)
- 247 MB
- 148,115 DOWNLOADS
An IDE for developers creating Android applications.
Eclipse for PHP Developers
- 168 MB
- 94,081 DOWNLOADS
The essential tools for any PHP developer, including PHP language support, Git client, Mylyn and editors for JavaScript, HTML, CSS and XML.
Eclipse IDE for Eclipse Committers
- 251 MB
- 60,171 DOWNLOADS
Package suited for development of Eclipse itself at Eclipse.org; based on the Eclipse Platform adding PDE, Git, Marketplace Client, source code and developer documentation.
Click here to file a bug against Eclipse Platform.
Click here to file a bug against Eclipse Git team provider.
Eclipse IDE for JavaScript and Web Developers
- 156 MB
- 28,817 DOWNLOADS
The essential tools for any JavaScript developer, including JavaScript language support, Git client, Mylyn and editors for JavaScript, HTML, CSS and XML.
Eclipse IDE for Java and DSL Developers
- 309 MB
- 19,531 DOWNLOADS
The essential tools for Java and DSL developers, including a Java & Xtend IDE, a DSL Framework (Xtext), a Git client, XML Editor, and Maven integration.
Eclipse for Parallel Application Developers
- 227 MB
- 18,302 DOWNLOADS
Tools for C, C++, Fortran, and UPC, including MPI, OpenMP, OpenACC, a parallel debugger, and remotely building, running and monitoring applications.
Eclipse for RCP and RAP Developers
- 254 MB
- 13,293 DOWNLOADS
A complete set of tools for developers who want to create Eclipse plug-ins, Rich Client Applications or Remote Application Platform (RCP+RAP), plus Maven and Gradle tooling, and an XML editor. It contains the EGit tooling for accessing Git version control systems.
Eclipse Modeling Tools
- 392 MB
- 8,403 DOWNLOADS
The Modeling package provides tools and runtimes for building model-based applications. You can use it to graphically design domain models, to leverage those models at design time by creating and editing dynamic instances, to collaborate via Eclipse's team support with facilities for comparing and merging models and model instances structurally, and finally to generate Java code from those models to produce complete applications. In addition, via the package's discover catalog, you can easily install a wide range of additional powerful, model-based tools and runtimes to suit your specific needs.
Eclipse IDE for Java and Report Developers
- 315 MB
- 5,693 DOWNLOADS
Java EE tools and BIRT reporting tool for Java developers to create Java EE and Web applications that also have reporting needs.
Eclipse for Testers
- 131 MB
- 4,216 DOWNLOADS
Eclipse Ide For Java Developers Free Download For Mac
This package contains Eclipse features that support the software development quality assurance process, such as Jubula and Mylyn.
Eclipse Ide For Java Developers Mac Download Version
Eclipse for Scout Developers
Eclipse Ide For Java Developers Mac Download Mac
- 212 MB
- 2,523 DOWNLOADS
Eclipse Scout is a Java/HTML5 framework to develop business applications that run on the desktop, on tablets and mobile devices. This package includes Eclipse IDE support for Scout developers and source code.