Eclipse | |
Logo Size: | 256px |
Author: | IBM |
Developer: | Eclipse Foundation |
Released: | 1.0 / [1] |
Latest Release Date: | |
Latest Preview Version: | 4.31.0 |
Latest Preview Date: | 13 March 2024--> |
Repo: | https://github.com/eclipse-platform/eclipse.platform |
Programming Language: | Java, C[2] |
Operating System: | Linux, macOS, Windows |
Platform: | Java SE, Standard Widget Toolkit, x86-64, AArch64 |
Language: | Albanian, Arabic, Basque, Bulgarian, Catalan, Chinese (simplified, traditional), Czech, Danish, Dutch, English (Australia, Canada), Estonian, Finnish, French, German, Greek, Hebrew, Hindi, Hungarian, Indonesian, Italian, Japanese, Klingon, Korean, Kurdish, Lithuanian, Malayalam, Mongolian, Myanmar, Nepali, Norwegian, Persian, Polish, Portuguese (Portugal, Brazil), Romanian, Russian, Serbian, Slovak, Slovenian, Spanish, Swedish, Thai, Turkish, Ukrainian, Vietnamese[3] |
Language Count: | 44 |
Genre: | Programming tool, integrated development environment (IDE) |
License: | Eclipse Public License |
Eclipse is an integrated development environment (IDE) used in computer programming.[4] It contains a base workspace and an extensible plug-in system for customizing the environment. It is the second-most-popular IDE for Java development, and, until 2016, was the most popular.[5] Eclipse is written mostly in Java and its primary use is for developing Java applications,[6] but it may also be used to develop applications in other programming languages via plug-ins, including Ada, ABAP, C, C++, C#, Clojure, COBOL, D, Erlang, Fortran, Groovy, Haskell, HLASM, JavaScript, Julia,[7] Lasso, Lua, NATURAL, Perl, PHP, PL/I, Prolog, Python, R, Rexx, Ruby (including Ruby on Rails framework), Rust, Scala, and Scheme. It can also be used to develop documents with LaTeX (via a TeXlipse plug-in) and packages for the software Mathematica. Development environments include the Eclipse Java development tools (JDT) for Java and Scala, Eclipse CDT for C/C++, and Eclipse PDT for PHP, among others.[8]
The initial codebase originated from IBM VisualAge.[9] The Eclipse software development kit (SDK), which includes the Java development tools, is meant for Java developers. Users can extend its abilities by installing plug-ins written for the Eclipse Platform, such as development toolkits for other programming languages, and can write and contribute their own plug-ins. Since Eclipse 3.0 (released in 2004), plug-ins are installed and managed as "bundles" using Equinox, an implementation of OSGi.[10]
The Eclipse SDK is free and open-source software, released under the terms of the Eclipse Public License, although it is incompatible with the GNU General Public License.[11] It was one of the first IDEs to run under GNU Classpath and it runs without problems under IcedTea.
Eclipse was inspired by the Smalltalk-based VisualAge family of integrated development environment (IDE) products.[9] Although fairly successful, a major drawback of the VisualAge products was that developed code was not in a component-based software engineering model. Instead, all code for a project was held in a compressed database using SCID techniques (somewhat like a zip file but in .dat). Individual classes could not be easily accessed, certainly not outside the tool. A team primarily at the IBM Cary, NC lab developed the new product as a Java-based replacement.[12] In November 2001, a consortium was formed with a board of stewards to further the development of Eclipse as open-source software. It is estimated that IBM had already invested nearly $40 million by that time.[13] The original members were Borland, IBM, Merant, QNX Software Systems, Rational Software, Red Hat, SuSE, TogetherSoft, and WebGain.[14] The number of stewards increased to over 80 by the end of 2003. In January 2004, the Eclipse Foundation was created.[15]
Eclipse 3.0 (released on 21 June 2004) selected the OSGi Service Platform specifications as the runtime architecture.[16]
The Association for Computing Machinery recognized Eclipse with the 2011 ACM Software System Award on 26 April 2012.[17]
The Eclipse Public License (EPL) is the fundamental license under which Eclipse projects are released.[18] Some projects require dual licensing, for which the Eclipse Distribution License (EDL) is available, although use of this license must be applied for and is considered on a case-by-case basis.
Eclipse was originally released under the Common Public License, but was later re-licensed under the Eclipse Public License. The Free Software Foundation has said that both licenses are free software licenses, but are incompatible with the GNU General Public License (GPL).[19]
According to Lee Nackman, Chief Technology Officer of IBM's Rational division (originating in 2003) at that time, the name "Eclipse" (dating from at least 2001) was not a wordplay on Sun Microsystems, as the product's primary competition at the time of naming was Microsoft Visual Studio, which Eclipse was to eclipse.[20]
Different versions of Eclipse have been given different science-related names. The versions named after Callisto, Europa, and Ganymede, which are moons of Jupiter, were followed by a version named after Galileo, the discoverer of those moons. These were followed by two sun-themed names, Helios of Greek mythology, and Indigo, one of the seven colors of a rainbow (which is produced by the sun). The version after that, Juno, has a triple meaning: a Roman mythological figure, an asteroid, and a spacecraft to Jupiter.[21] Kepler, Luna, and Mars continued the astronomy theme, and then Neon and Oxygen constituted a theme of chemical elements. Photon represented a return to sun-themed names.
, the alphabetic scheme was abandoned in order to better align with the new Simultaneous Release strategy.[22] Releases are named in the format YYYY-MM to reflect the quarterly releases, starting with version 4.9 named 2018-09.[23]
Since 2006, the Foundation has coordinated an annual Simultaneous Release.[24] Each release includes the Eclipse Platform and several other Eclipse projects.
From 2008 through 2018, each Simultaneous Release had occurred on the 4th Wednesday of June. In 2018 the project switched to quarterly (13 week) YYYY-MM releases without intermediate service releases.[25]
Version name | Date | Platform version | Projects | Main changes | |
---|---|---|---|---|---|
29 November 2001 | A 1.3 level Java runtime or Java development kit must be installed on the machine in order to run this version of Eclipse.[26] | ||||
18 September 2002[27] | |||||
15 April 2003[28] | A 1.4 level Java runtime or Java development kit (JDK) can also be used to run Eclipse. It is still possible to use a 1.3 level Java runtime or Java development kit (JDK).[29] | ||||
21 June 2004[30] | A 1.4.1 level Java runtime or Java development kit must be installed on the machine in order to run this version of Eclipse.[31] | ||||
28 June 2005 | Added Java 5 support: generics, annotations, boxing-unboxing, enums, enhanced for loop, varargs, static imports[32] | ||||
Callisto | 26 June 2006[33] | Callisto projects[34] | |||
Europa | 27 June 2007 | Europa projects | |||
Ganymede | 25 June 2008 | Ganymede projects[35] | |||
Galileo | 24 June 2009 | Galileo projects[36] | |||
Helios | 23 June 2010 | Helios projects[37] | |||
Indigo | 22 June 2011 | Indigo projects[38] | Added Java 7 support (3.7.1 sr1): Improved Type Inference for Generic Instance Creation (Diamond), Multi-catch, try-with-resources statement, Simplified Varargs Method Invocation, Strings in switch, Binary Literals and Underscores in Numeric Literals, Polymorphic Methods[39] | ||
Juno | 27 June 2012 | Juno projects[40] | |||
Kepler | 26 June 2013 | Kepler projects[41] | A Java 6 JRE/JDK is recommended to run this version.[42] | ||
Luna | 25 June 2014 | Luna projects[43] | Integrated Java 8 support;[44] in the prior version, this was possible via a Java 8 patch plug-in.A Java 7 JRE/JDK is required to run most of the packages based on this version. | ||
Mars | 24 June 2015 | Mars projects[45] | A Java 7 JRE/JDK is required to run all packages based on this version. | ||
Neon | 22 June 2016 | Neon projects[46] | A Java 8 JRE/JDK is required to run all packages based on this version. | ||
Oxygen | 28 June 2017 | Oxygen projects[47] | Oxygen.1a introduced Java 9 and Junit 5 support and Oxygen.3a introduced Java 10 support.[48] Dropped support for the following Unix based platforms: AIX, Solaris, HP-UX and s390.[49] From this version on, a Java 8 or newer JRE/JDK is required to run Eclipse. | ||
Photon | 27 June 2018 | Photon projects[50] | Dropped support for 32bit Windows and Linux. | ||
2018-09 | 19 September 2018 | 2018-09 projects[51] | |||
2018-12 | 19 December 2018 | 2018-12 projects[52] | Added support for Java 11.[53] | ||
2019-03 | 20 March 2019 | 2019-03 projects[54] | |||
2019-06 | 19 June 2019 | 2019-06 projects[55] | |||
2019-09 | 18 September 2019 | 2019-09 projects[56] | |||
2019-12 | 18 December 2019 | 2019-12 projects[57] | |||
2020-03 | 18 March 2020 | 2020-03 projects[58] | Update support for Web Development languages, relying on Language Server Protocol | ||
2020-06 | 17 June 2020 | 2020-06 projects[59] | |||
2020-09 | 16 September 2020 | 2020-09 projects[60] | From this version on, a Java 11 or newer JRE/JDK is required to run Eclipse. | ||
2020-12 | 16 December 2020 | 2020-12 projects[61] | A JDK is embedded into most packages, so a Java installation is not a prerequisite anymore. | ||
2021-03 | 17 March 2021 | 2021-03 projects[62] | |||
2021-06 | 16 June 2021 | 2021-06 projects[63] | |||
2021-09 | 15 September 2021 | 2021-09 projects[64] | |||
2021-12 | 8 December 2021 | 2021-12 projects[65] | |||
2022-03 | 16 March 2022 | 2022-03 projects[66] | |||
2022-06 | 15 June 2022 | 2022-06 projects[67] | |||
2022-09 | 14 September 2022 | 2022-09 projects[68] | From this version on, a Java 17 or newer JRE/JDK is required to run Eclipse. | ||
2022-12 | 7 December 2022 | 2022-12 projects[69] | |||
2023-03 | 15 March 2023 | 2023-03 projects[70] | |||
2023-06 | 14 June 2023 | 2023-06 projects[71] | |||
2023-09 | 13 September 2023 | 2023-09 projects[72] | |||
2023-12 | 6 December 2023 | 2023-12 projects[73] | |||
2024-03 | 13 March 2024 | [74] | |||
2024-06 | 12 June 2024 | [75] | |||
2024-09 | 11 September 2024 | [76] |
Eclipse uses plug-ins to provide all the functionality within and on top of the run-time system. Its run-time system is based on Equinox, an implementation of the OSGi core framework specification.[77]
In addition to allowing the Eclipse Platform to be extended using other programming languages, such as C and Python, the plug-in framework allows the Eclipse Platform to work with typesetting languages like LaTeX[78] and networking applications such as telnet and database management systems. The plug-in architecture supports writing any desired extension to the environment, such as for configuration management. Java and CVS support is provided in the Eclipse SDK, with support for other version control systems provided by third-party plug-ins.
With the exception of a small run-time kernel, everything in Eclipse is a plug-in. Thus, every plug-in developed integrates with Eclipse in the same way as other plug-ins; in this respect, all features are "created equal".[79] Eclipse provides plug-ins for a wide variety of features, some of which are from third parties using both free and commercial models. Examples of plug-ins include for Unified Modeling Language (UML), for Sequence and other UML diagrams, a plug-in for DB Explorer, and many more.
The Eclipse SDK includes the Eclipse Java development tools (JDT), offering an IDE with a built-in Java incremental compiler and a full model of the Java source files. This allows for advanced refactoring techniques and code analysis. The IDE also makes use of a workspace, in this case a set of metadata over a flat filespace allowing external file modifications as long as the corresponding workspace resource is refreshed afterward.
Eclipse implements the graphical control elements of the Java toolkit called Standard Widget Toolkit (SWT), whereas most Java applications use the Java standard Abstract Window Toolkit (AWT), Swing, or JavaFX. Eclipse's user interface also uses an intermediate graphical user interface layer called JFace, which simplifies the construction of applications based on SWT. Eclipse was made to run on Wayland during a Google Summer of Code (GSoC) Project in 2014.[80]
, language packs being developed by the Babel Project provide translations into over 40 natural languages.
Eclipse provides the rich client platform (RCP) for developing general-purpose applications.
The following components constitute the rich client platform:
Examples of rich client applications based on Eclipse are:
Eclipse supports development for Tomcat, GlassFish and many other servers and is often capable of installing the required server (for development) directly from the IDE. It supports remote debugging, allowing a user to watch variables and step through the code of an application that is running on the attached server.
The Eclipse Web Tools Platform (WTP) project is an extension of the Eclipse platform with tools for developing Web and Java EE applications. It includes source and graphical editors for a variety of languages, wizards and built-in applications to simplify development, and tools and APIs to support deploying, running, and testing apps.[82]
The Modeling project contains all the official projects of the Eclipse Foundation focusing on model-based development technologies. All are compatible with the Eclipse Modeling Framework created by IBM. Those projects are separated in several categories: Model Transformation, Model Development Tools, Concrete Syntax Development, Abstract Syntax Development, Technology and Research, and Amalgam.
Model Transformation projects uses Eclipse Modeling Framework (EMF) based models as an input and produce either a model or text as an output. Model to model transformation projects includes ATLAS Transformation Language (ATL), an open source transformation language and toolkit used to transform a given model or to generate a new model from a given EMF model. Model to text transformation projects contains Acceleo, an implementation of MOFM2T, a standard model to text language from the Object Management Group (OMG). The Acceleo code generator can generate any textual language (Java, PHP, Python, etc.) from EMF based models defined with any metamodel (Unified Modeling Language (UML), Systems Modeling Language (SysML), etc.). It is open-source.
Model Development Tools projects are implementations of various modeling standards used in the industry, and their toolkits. Among those projects can be found implementations of several standards:
The Concrete Syntax Development project contains the Graphical Modeling Framework, an Eclipse-based framework dedicated to the graphical representation of EMF based models.
The Abstract Syntax Development project hosts the Eclipse Modeling Framework, core of most of the modeling project of the Eclipse Foundation and the framework available for EMF like Connected Data Objects (CDO), EMF query or EMF validation.
Technology and Research projects are prototypes of Modeling project; this project is used to host all the modeling projects of the Eclipse Foundation during their incubation phase.
Amalgam provides the packaging and integration between all the available modeling tools for the Eclipse package dedicated to modeling tools.[83]
Application lifecycle management (ALM) and task management in Eclipse need an optional component called Mylyn, an open-source implementation of the task-focused interface. It provides an API for tools embedding the task-focused interface. For software developers, it helps a developer work efficiently with many different tasks (such as bugs, problem reports or new features). Tasks are integrated into Mylyn. For all tasks that have been integrated, Mylyn monitors user activity and tries to identify information relevant to the task at hand. It uses this task context to focus the Eclipse UI on the related information. Mylyn can integrate with repositories such as Bugzilla, Trac, Redmine, Mantis,[84] JIRA, Unfuddle,[85] and GitHub.[86] It focuses on improving productivity by reducing searching, scrolling, and navigation. By making task context explicit, Mylyn is also meant to facilitate multitasking, planning, reusing past efforts, and sharing expertise.
The project name comes from myelin, an electrically insulating layer that surrounds neurons' axons.[87] The original name of this project, "Mylar", replicated a trademark of a boPET film company, so the Eclipse Foundation changed the project name.[88]
Eclipse IDE features include text editor with syntax coloring, coding assistance, code completion, code refactoring, code analysis with "Quick fix" suggestions along with code debugging.[89]
Along with native support for OSGi, JPMS support has been added as of Java 9.[89]
Eclipse supports a rich selection of extensions, adding support for Python via PyDev, Android development via Google's ADT (superseded by Android Studio since 2015), JavaFX via e(fx)clipse, JavaScript, jQuery, and many others at the Eclipse Marketplace. Valable is a Vala plug-in for Eclipse.[90]
In addition to the built in Java compiler warnings, additional plug-ins are available for linting to improve code quality and consistency such as SpotBugs and Sonar.[91] [92]
Support for build tools such as Ant, Maven, Make, and CMake includes the capability to replace Eclipse native project file format with Maven pom.xml directly.[93]
Several alternative distributions exist in the Eclipse project.
The PHP Hypertext Preprocessor (PHP) Development Tools project provides a framework for the Eclipse platform. The project encompasses all development components, including code-completion, develop PHP and facilitate extensibility. It leverages the existing Eclipse Web Tools Platform (WTP) and Dynamic Languages Toolkit (DLTK).[94]
Android Development Tools (ADT) was superseded in 2015 by the Eclipse foundation's own plugin, called Andmore: Development Tools for Android,[95] after Google discontinued development of their plug-in for the Eclipse IDE, that is designed to provide an integrated environment in which to build Android applications. ADT/Andmore extends the abilities of Eclipse to let developers set up new Android projects, create an application UI, add packages based on the Android Framework API, debug their applications using the Android SDK tools, and export signed (or unsigned) .apk files in order to distribute their applications. It is freely available to download. Google's ADT was the official IDE for Android until 2015 but was replaced by Eclipse's Andmore and the official Android Studio.[96] [97] As of 2024, the project appears to be moribund, with no activity since 2017.[98]