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
256
votes
27 answers

Java project in Eclipse: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files

I am getting the following error after importing a project in Eclipse: The type java.lang.Object cannot be resolved. It is indirectly referenced from required .class files However, I have set the path as C:\Program Files\Java\jdk1.6.0_41 in…
Blue Diamond
  • 2,979
  • 4
  • 18
  • 21
254
votes
2 answers

Break when exception is thrown

Visual Studio has an option to break automatically into the debugger when an unhandled exception is thrown, does Eclipse have similar functionality?
keithwarren7
  • 14,094
  • 8
  • 53
  • 74
253
votes
22 answers

Eclipse "Invalid Project Description" when creating new project from existing source

I am trying to create a new project from existing source code. I keep getting the following error: "Invalid Project Description", project path "overlaps the location of another project" with the same name. The reason is that I created that project…
deepkimo
  • 3,187
  • 3
  • 23
  • 21
251
votes
20 answers

What is the best IDE to develop Android apps in?

I am about to start developing an android app and need to get an IDE. Eclipse and the android eclipse plugin appears to be the natural choice. However I am familiar with intelliJ and re-sharper so I would prefer use intelliJ. Has anyone used…
Jamey McElveen
  • 18,135
  • 25
  • 89
  • 129
249
votes
29 answers

Why doesn't logcat show anything in my Android?

Why doesn't logcat show anything in my Android (while developing apps with Eclipse)? It just doesn't print anything. It's empty.
TIMEX
  • 259,804
  • 351
  • 777
  • 1,080
248
votes
9 answers

How do I install Eclipse Marketplace in Eclipse Classic?

I'm running Eclipse 3.6.1 Classic, which does not come with the Eclipse Marketplace plugin by default. I've looked around the Eclipse website, but I don't see an available plugin for installing Eclipse Marketplace. Am I just not seeing it?
Thomas Owens
  • 114,398
  • 98
  • 311
  • 431
246
votes
9 answers

Which Eclipse files belong under version control?

Which Eclipse files is it appropriate to put under source control, aside from the sources obviously? In my project, specifically, I'm wondering about: .metadata/* project-dir/.project project-dir/.classpath project-dir/.settings/* If there…
sblundy
  • 60,628
  • 22
  • 121
  • 123
245
votes
9 answers

'Missing contentDescription attribute on image' in XML

I get an warning about [Accessibility]Missing contentDescription attribute on image in eclipse. This warning show at line 5 (declare ImageView) in XML code below. This not make any error when build and run my application. But I really want to know…
PhatHV
  • 8,010
  • 6
  • 31
  • 40
245
votes
17 answers

App can't be opened because it is from an unidentified developer

I installed Mac OS X Mavericks (10.9) yesterday and since then I am not able to start my Eclipse. I am attaching a screenshot of the message I see. Is there a workaround for this? I found a solution in Fix the “App can’t be opened because it is…
Chandan
  • 3,349
  • 2
  • 22
  • 18
240
votes
7 answers

Libraries do not get added to APK anymore after upgrade to ADT 22

I have a rather big Android App project that is referencing several library projects. Everything was fine until i upgraded the eclipse ADT plugin to the newest version (v22). I also upgraded the SDK of course. I do not see any compile errors in…
SimonSays
  • 10,867
  • 7
  • 44
  • 59
238
votes
7 answers

How do I compare two files using Eclipse? Is there any option provided by Eclipse?

How do I compare two files using Eclipse? (Currently I am using WinMerge.)
RPB
  • 16,006
  • 16
  • 55
  • 79
235
votes
12 answers

Java compiler level does not match the version of the installed Java project facet

I have created a New Dynamic Project under Eclipse Helios Version, where my JRE Version is set to 1.6. I have added Maven capabilities to the Web Application by clicking on Configure → Convert to Maven Project. After adding this, a build error…
user974802
  • 3,397
  • 10
  • 26
  • 29
233
votes
15 answers

Eclipse menus don't show up after upgrading to Ubuntu 13.10

After upgrading to Ubuntu 13.10, when I click on any menus in Eclipse (Help, Window, Run) they don’t show up. Only menu stubs and selection are visible. I tried installing fresh 4.3 and the same thing is happening. Is anyone else experiencing this…
positron
  • 3,643
  • 3
  • 22
  • 26
231
votes
36 answers

How do I prevent Eclipse from hanging on startup?

I am using Eclipse 3.3 ("Europa"). Periodically, Eclipse takes an inordinately long time (perhaps forever) to start up. The only thing I can see in the Eclipse log is: !ENTRY org.eclipse.core.resources 2 10035 2008-10-16 09:47:34.801 …
Simon Nickerson
  • 42,159
  • 20
  • 102
  • 127
228
votes
9 answers

How to change default text file encoding in Eclipse?

Whenever I add a new html file (or other text file) to the project its encoding is set to Cp1250. I am not sure why, I guess this is probably because my default language in Windows is Polish and I don't want to change it. Anyway, Eclipse says that…
PawelRoman
  • 6,122
  • 5
  • 30
  • 40