Eclipse Neon For Java Ee Developers

  • Vaadin Plugin for Eclipse Vaadin is an open source Java UI library for creating rich web user interfaces. Using its component-based API developers can create stunning web applications in plain Java. Web, XML, Java EE and OSGi Enterprise Development, UI, Application Development Frameworks, Web, J2EE Development Platform.
  • Eclipse IDE for Java EE Developers is a set of tools for Java developers designed to help them create Java EE and Web applications. This package includes: - Data Tools Platform. Eclipse Git Team Provider. Eclipse Java Development Tools. Eclipse Java EE Developer Tools. JavaScript Development Tools. Maven Integration for Eclipse and more.
Details
Written by Nam Ha Minh
Last Updated on 07 August 2019 Print Email

Note: WebLogic Server defaults to a large heap, which may be inappropriate for development. Changing the server start script can easily remedy the server memory usage. Component Support at a glance. Eclipse Version. Eclipse IDE for Java EE Developers 4.5 (Mars), 4.5.1 (Mars.1). 4.5.2 (Mars.2) Eclipse IDE for Java EE Developers 4.6 (Neon). Eclipse IDE for Java EE Developers Tools for Java developers creating Java EE and Web applications, including a Java IDE, tools for Java EE, JPA, JSF, Mylyn, EGit and others.

This tutorial helps you get familiar quickly with Eclipse - the most popular IDE for Java development. In order to use Eclipse effectively, you should get familiar and understand some key concepts and components in the IDE: Workbench, Workspace, Perspective, Editor, View and Toolbar.First, let’s see how to download and install Eclipse IDE.

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:

Then the installer downloads and installs the selected package onto your computer.The benefit of using Eclipse Installer is that you can install any desktop package of Eclipse in one place, and it also creates shortcuts on desktop and Programs menu for you. Here’s the link to download Eclipse Installer (64-bit):Note that you need to choose a mirror site to download from.Install Eclipse IDE by downloading a ZIP package:In this way, you download a zip/tar file for a specific package and extract the file on your computer. Run the eclipse.exeprogram in the eclipse directory to launch the IDE:And if you want to have shortcuts on desktop and in Programs menu, you have to manually create them. Here’s the link to download the package Eclipse IDE for Java EE Developers:Note: Eclipse IDE depends on JDK/JRE so make sure that you have JDK/JRE installed on your computer. and configure the JAVA_HOME and PATH environment variables properly (See: How to set environment variables for Java using command line).The above package requires Java 8 or newer.

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.

Java

- 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.
  • Navigation
  • Main Page
  • Community portal
  • Current events
  • Recent changes
  • Random page
  • Help
  • Toolbox
  • Page information
  • Permanent link
  • Printable version
  • Special pages
  • Related changes
  • What links here

Installing Eclipse is relatively easy, but does involve a few steps and software from at least two different sources. Eclipse is a Java-based application and, as such, requires a Java Runtime Environment or Java Development Kit (JRE or JDK) in order to run.

Note that on recent versions of Mac, a full JDK needs to be installed, not just a JRE; see instructions below.

Eclipse Neon For Java Developers

Install a JVM

The latest release of Eclipse requires a 64-bit JVM, and does not support a 32-bit JVM.


Current releases of Eclipse require Java 11 JRE/JDK or newer. Java


If you are using Eclipse to do Java development, or are on macOS, install a JDK.In all cases, Eclipse requires a 64-bit JVM

A Java Development Kit (JDK) includes many useful extras for Java developers including the source code for the standard Java libraries.


Regardless of your operating system, you will need to install some Java virtual machine (JVM). You may either install a Java Runtime Environment (JRE), or a Java Development Kit (JDK), depending on what you want to do with Eclipse. If you intend to use Eclipse for Java development, then you should install a JDK. If you aren't planning to use Eclipse for Java development and want to save some disk space, install a JRE.

  • If you're using Windows, you may already have a JRE installed, but upgrading usually won't hurt.
  • If you're using Mac, and you don't have a JDK installed, you may get a bogus message from the OS stating that you should 'install the legacy Java SE 6 runtime'. Installing that will not solve the problem, because recent versions of Eclipse require a higher version. If you install just a JRE, and not a full JDK, that error message will persist. You must install a full JDK.
  • If using Linux, read this
    • GCJ will NOT work.

Eclipse 4.19 (2021-03)

Eclipse 4.19 (2021-03) was released on March 17, 2021. It is the supported release.

A Java 11 or newer JRE/JDK is required, LTS release are preferred to run all Eclipse 2021-03 packages based on Eclipse 4.19, with certain packages choosing to provide one by default. The Installer now includes a JRE. Consider using the Installer. Please see 5 Steps to Install Eclipse.

Eclipse 4.18 (2020-12)

Eclipse 4.18 (2020-12) was released on December 16, 2020.

A Java 11 or newer JRE/JDK is required, LTS release are preferred to run all Eclipse 2020-12 packages based on Eclipse 4.18, with certain packages choosing to provide one by default. The Installer now includes a JRE. Consider using the Installer. Please see 5 Steps to Install Eclipse.

Eclipse 4.17 (2020-09)

Eclipse 4.17 (2020-09) was released on September 16, 2020.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

A Java 11 or newer JRE/JDK is required, LTS release are preferred to run all Eclipse 2020-09 packages based on Eclipse 4.17, as well as the Installer.

Eclipse 4.16 (2020-06)

Eclipse 4.16 (2020-06) was released on June 17, 2020.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

A Java 8 or newer JRE/JDK is required, LTS release are preferred to run all Eclipse 2020-06 packages based on Eclipse 4.16, as well as the Installer.

Eclipse 4.15 (2020-03)

Eclipse 4.15 (2020-03) was released on March 18, 2020.

A Java 8 or newer JRE/JDK is required, LTS release are preferred to run all Eclipse 2020-03 packages based on Eclipse 4.15, as well as the Installer.

Eclipse neon for java ee developers download

Eclipse 4.14 (2019-12)

Eclipse 4.14 (2019-12) was released on December 18, 2019. See Eclipse 2019-12 schedule.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

A Java 8 or newer JRE/JDK is required to run all Eclipse 2019-09 packages based on Eclipse 4.14, as well as the Installer.

Eclipse 4.13 (2019-09)

Eclipse 4.13 (2019-09) was released on September 18, 2019. See Eclipse 2019-09 schedule.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

A Java 8 or newer JRE/JDK is required to run all Eclipse 2019-09 packages based on Eclipse 4.13, as well as the Installer.

Eclipse 4.12 (2019-06)

Eclipse 4.12 (2019-06) was released on June 19, 2019. See Eclipse 2019-06 schedule.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

A Java 8 or newer JRE/JDK is required to run all Eclipse 2019-03 packages based on Eclipse 4.12, as well as the Installer.

Eclipse 4.11 (2019-03)

Eclipse 4.11 (2019-03) was released on March 20, 2019. See Eclipse 2019-03 schedule.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

A Java 8 or newer JRE/JDK is required to run all Eclipse 2019-03 packages based on Eclipse 4.11, as well as the Installer.

Eclipse 4.10 (2018-12)

Eclipse 4.10 (2018-12) was released on December 20, 2018. It is the supported release. See Eclipse 2018-12 schedule.

Consider using the Installer. Please see 5 Steps to Install Eclipse.

A Java 8 or newer JRE/JDK is required to run all Eclipse 2018-12 packages based on Eclipse 4.10, including running the Installer. The reasoning behind requiring Java 8 are discussed here.

Eclipse 4.9 (2018-09)

Eclipse 4.9 (2018-09) was released on September 19, 2018. See Eclipse 2018-09 schedule.

A Java 8 or newer JRE/JDK is required to run all Eclipse 2018-09 packages based on Eclipse 4.9, including running the Installer. The reasoning behind requiring Java 8 are discussed here.

Eclipse 4.8 (Photon)

Eclipse 4.8 (Photon) was released on June 27, 2018. See Photon schedule.

A Java 8 or newer JRE/JDK is required to run all Oxygen packages based on Eclipse 4.7, including running the Installer. The reasoning behind requiring Java 8 are discussed here.

Eclipse 4.7 (Oxygen)

Eclipse 4.7 (Oxygen) was released on June 28, 2017. See Oxygen schedule.

A Java 8 or newer JRE/JDK is required to run all Oxygen packages based on Eclipse 4.7, including running the Installer. The reasoning behind requiring Java 8 are discussed here.

Eclipse 4.6 (Neon)

Eclipse 4.6 (Neon) was released on June 22, 2016. See Neon schedule.

A Java 8 JRE/JDK is required to run all Neon packages based on Eclipse 4.6, including the Installer. The reasoning behind requiring Java 8 are discussed here.

Eclipse 4.5 (Mars)

Eclipse 4.5 (Mars) was released on June 24, 2015.

A Java 7 JRE/JDK is required for all Mars package downloads based on Eclipse 4.5, including the Installer. Information concerning tested configurations for Eclipse 4.5 is provided here.

Eclipse 4.4 (Luna)

Eclipse 4.4 (Luna) was released on June 25, 2014.

A Java 7 JRE/JDK is required for most of the Luna package downloads based on Eclipse 4.4. Information concerning tested configurations for Eclipse 4.4 is provided here.

Eclipse 4.3 (Kepler)

Eclipse 4.3 (Kepler) was released in June 2013.

A Java 6 JRE/JDK is recommended for Eclipse 4.3. More information concerning tested configurations for Eclipse 4.3 is provided here.


JRE/JDK Sources

Be sure to install a JVM with the same bit level as Eclipse
i.e. install a 32-bit JRE to run 32-bit Eclipse; install a 64-bit JRE to run 64-bit Eclipse

There are several sources for a JRE/JDK. Here are some of the more common/popular ones (listed alphabetically):

Download Eclipse

Download Eclipse from the Eclipse Downloads Page.

There are several package choices. Note that you can install the features from any package into any other package. If you are, for example, planning to do mostly Java development and some C/C++ development, you should download the Eclipse IDE for Java Developers and then add the C/C++ development tools via the 'Help > Install New Software...' menu option.

The download will be delivered as a compressed (i.e. a '.zip', or '.tar.gz') file. Decompress this file into the directory of your choice (e.g. 'c:eclipse' on Windows) and ensure you have full Read and Execute permissions. You can optionally create a shortcut of the executable file ('eclipse.exe' on Windows, or 'eclipse' on Linux).

Note that there is a known problem with the built-in decompression utility on all current versions of Windows. We recommend that you use a more robust decompression utility such as the open source 7zip when decompressing an Eclipse download. Some people report success when initially decompressing Eclipse into a root directory (e.g. c:) and then moving it to a more appropriate home (e.g. c:Program FilesEclipse)

Configure Eclipse to use the JVM

It is strongly recommended to configure Eclipse with the specific JVM that you want. See the instructions at Eclipse.iniThis is a very important step to be sure that Eclipse is using the JVM you intend and can't be influenced by any other software that might alter your system.The JVM used to launch Eclipse has no affect on whether it can compile Java sources for other Java language versions.

Extending Eclipse

Use the Help > Install new software... menu option to add Kepler features to your Eclipse installation (you can, for example, use this option to add C/C++ development support). Additionally, you can tap into a vast collection of extensions provided by the Eclipse community and ecosystem via the Eclipse Marketplace Client (Help > Eclipse Marketplace). Note that not all Eclipse packages contain the Eclipse Marketplace Client.

Troubleshooting

Java was started but returned exit code = 13

Eclipse Neon For Java Ee Developers Download

If you've 'installed' Eclipse but are having trouble getting it to run, the most likely cause is that you have not correctly specified the JVM for it to run under. You may need to edit the eclipse.ini file.

Another common mistake on Microsoft Windows is a mismatch between the 'bittedness' of Eclipse and the JVM/JDK. This is the most frequent cause of an Error 13. 64-bit Eclipse requires a 64-bit JVM, and 32-bit Eclipse requires 32-bit JVM--you can not mix-and-match between 32-bit and 64-bit, so make sure the version of Eclipse you installed matches the JVM/JDK that you're using to run it (and make sure you're using eclipse.ini to specify the exact JVM used to run Eclipse, described above).

As a simple test, open a Command Prompt window, move to the directory that is pointed to by the -vm argument in your eclipse.ini, and run the intended java.exe with the -d32 switch to test if it supports 32-bit, or -d64 to test for 64-bit support. It's often simplest to download a version of Eclipse that will work with whatever Java you already have installed.

To open 'Eclipse' you need to install the legacy Java SE 6 runtime

On more recent versions of the Mac, if you don't have a full JDK of an appropriately high version installed, the OS produces this bogus message. Installing any JRE will not eliminate this problem. A full JDK needs to be installed on the Mac.

Extraction requires a password or otherwise fails on Windows.

Eclipse downloads are not password protected. This is a known problem with the built-in decompression utility on all current versions of Windows. We recommend that you either download the installer or use a more robust decompression utility such as the open source 7zip when decompressing an Eclipse download. Some people report success when initially decompressing Eclipse into a root directory (e.g. c:) and then moving it to a more appropriate home (e.g. c:Program FilesEclipse)

Eclipse Neon Ide For Java Ee Developers Download

More information

Java
Retrieved from 'https://wiki.eclipse.org/index.php?title=Eclipse/Installation&oldid=442664'