Questions tagged [eclipse]

Eclipse is an open source IDE and platform for building applications. There is a wide variety of plugins for various programming languages and other development-oriented tools (such as modeling, database browsing, etc.). This tag should only be used for questions specifically about the Eclipse IDE or platform, not for generalized (Java, etc.) programming topics.

Eclipse IDE is an open-source IDE platform written mostly in Java and primarily used for Java development through the use of the Java Development Tools (JDT) plug-ins. It is notable for its rich ecosystem of free and commercial plugins and that it is predominantly itself composed of plug-ins.

Eclipse IDE is built on an OSGI implementation called Equinox; the same OSGI-based framework is used for managing its plug-ins at runtime. Eclipse can also be used as a development environment for non-IDE GUI applications, leveraging many of the same plug-ins as the IDE to form a more general Rich Client Platform, called Eclipse RCP.

For C/C++ development, the Eclipse CDT Project provides plug-ins to create a C/C++ development environment within Eclipse IDE.

The Eclipse Web Tools Platform project supplies plug-ins for developing Open web standards-based and Java web applications, and frameworks for building higher-level web tools.

For PHP development, the Eclipse PDT Project provides a plugin to create a PHP development environment within Eclipse IDE, building on features of the Web Tools Platform. The popular commercial Zend Studio is also based on Eclipse IDE.

For Python development, PyDev provides plug-ins, called PyDev, to create a Python development environment within Eclipse IDE.

For Perl development, the EPIC project provides a plugin to create a Perl development environment within Eclipse IDE.

Note that Google has ceased developing the Android Development Tools in favor of another solution.

When combined with Cygwin (or MinGW), Mono, and its many plugins, Eclipse IDE provides a crucial part of viable open-source alternatives to using Microsoft Visual-Studio as a Windows software development platform in Windows, whilst also including comprehensive native support for Java.

Download the latest version of Eclipse IDE from eclipse.org
Download site for the Eclipse Platform project itself, including the core runtime and SDK
Eclipse Marketplace featuring Plug-ins, Bundles and Products

###Useful Links:


Within the Stack Overflow community, Eclipse is synonymous with the Java IDE, but that does not mean questions about Java are questions about the IDE.

Consider what changes your question would require if you were using vi to edit and ant to build; if your question would remain unchanged, then it is not an Eclipse question, so you should not give your question the tag. Use the tag instead.

Initial release Eclipse (1.0 - 7 November 2001)

Latest Version: Eclipse 2023-06 (4.28 - 14 June 2023)

If you suspect your issue is version specific, list the version in your question.

124735 questions
357
votes
10 answers

How do I increase the capacity of the Eclipse output console?

Even with the "scroll lock" option enabled for the Eclipse console, eventually it overfills and starts auto-scrolling on me. Is there some way of increasing the capacity of the console so that it stores more lines? I wasn't able to find the option.…
Uri
  • 88,451
  • 51
  • 221
  • 321
356
votes
16 answers

How do I import the javax.servlet / jakarta.servlet API in my Eclipse project?

I want to develop with Servlets in Eclipse, but it says that the package javax.servlet / jakarta.servlet cannot be resolved. How can I add javax.servlet / jakarta.servlet package to my Eclipse project?
tom
  • 4,911
  • 11
  • 37
  • 39
350
votes
31 answers

Cannot change version of project facet Dynamic Web Module to 3.0?

I am using maven to create a dynamic webapp in Eclipse. I added some folders like src/test/java and src/test/resources. Also I changed the library in Java Build Path to obtain the JavaSE-1.7. It's all OK up to here. When I tried to change the…
EdgarZeng
  • 3,678
  • 4
  • 15
  • 10
349
votes
13 answers

Maven in Eclipse: step by step installation

I have spent been on the Maven site reading the 5- and 30-minute tutorials, and trialing Maven out for the first time. I want to install a Maven plugin and use it to start building Maven projects from Eclipse. Despite an honest effort, I have been…
IAmYourFaja
  • 55,468
  • 181
  • 466
  • 756
340
votes
11 answers

How to disable breadcrumbs in Eclipse

How can I disable the Java editor breadcrumb in Eclipse?
Muhammad Hewedy
  • 29,102
  • 44
  • 127
  • 219
338
votes
28 answers

Eclipse says: “Workspace in use or cannot be created, chose a different one.” How do I unlock a workspace?

When I start, Eclipse says "Workspace Cannot Be Locked" "Could not launch the product because the associated workspace is currently in use by another Eclipse application." or “Workspace in use or cannot be created, chose a different one.” But I know…
Roger C S Wernersson
  • 6,362
  • 6
  • 34
  • 45
336
votes
5 answers

How to use an existing database with an Android application

I have already created an SQLite database. I want to use this database file with my Android project. I want to bundle this database with my application. Instead of creating a new database, how can the application gain access to this database and…
Muhammad Umar
  • 11,391
  • 21
  • 91
  • 193
335
votes
7 answers

What does $NON-NLS-1$ mean?

In Eclipse source code, I've found some '$NON-NLS-1$' in comments used like that : private String toolTip = ""; //$NON-NLS-1$ What does that mean ?
paulgreg
  • 18,493
  • 18
  • 46
  • 56
335
votes
25 answers

Maven error "Failure to transfer..."

I am trying to set up a project using Maven (m2eclipse), but I get this error in Eclipse: Description Resource Path Location Type Could not calculate build plan: Failure to transfer…
Deepak Joy Cheenath
  • 5,796
  • 5
  • 25
  • 29
335
votes
34 answers

Class has been compiled by a more recent version of the Java Environment

While running a script, I am getting the following error message in the Eclipse console: Class has been compiled by a more recent version of the Java Environment (class file version 53.0), this version of the Java Runtime only recognizes class file…
user5218071
  • 3,361
  • 2
  • 11
  • 4
332
votes
34 answers

Cannot run Eclipse; JVM terminated. Exit code=13

I just append -vm C:\Program Files\Java\jre6\bin\javaw.exe in eclipse.ini then I try to start eclipse again and got this error. Give me how to solve or link that actually solve it. this is my eclipse.ini -startup…
Prince OfThief
  • 6,323
  • 14
  • 40
  • 53
332
votes
12 answers

How can I use external JARs in an Android project?

I have created an Android project and added an external JAR (hessian-4.0.1.jar) to my project. I then added the JAR to the build path and checked it off in Order and Export. Order and Export is ignored it seems, and all classes from the external JAR…
Fredrik Olsson
325
votes
11 answers

Eclipse doesn't highlight references anymore

I have an odd problem. In Eclipse Ganymede, I used to be able to highlight a variable, and it would highlight the use of that variables in that method. However through some action I have now disabled it. Is there a way I can enable it? I tried…
Gerrie
  • 3,873
  • 4
  • 23
  • 26
322
votes
6 answers

How to delete a workspace in Eclipse?

How to delete a workspace in Eclipse?
Rahul
  • 12,886
  • 13
  • 57
  • 62
321
votes
9 answers

What is the list of valid @SuppressWarnings warning names in Java?

What is the list of valid @SuppressWarnings warning names in Java? The bit that comes in between the ("") in @SuppressWarnings("").
Ron Tuffin
  • 53,859
  • 24
  • 66
  • 78