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
319
votes
11 answers

How do you split and unsplit a window/view in Eclipse IDE?

How do you split a window/view in Eclipse IDE? I want to edit code while viewing the different code in the same file. If there is a trick to open the same file twice, this might do, but I would rather just split the one current view instead of…
Xonatron
  • 15,622
  • 30
  • 70
  • 84
315
votes
40 answers

Some projects cannot be imported because they already exist in the workspace error in Eclipse

I am trying to import a project that me and my co-worker have been working on.. and keep getting this error after I select-- "import" then "import existing project" then click archive file, and then I click next, and this error comes up: Some…
Kelley Duran
  • 3,151
  • 2
  • 15
  • 3
315
votes
16 answers

What are the best JVM settings for Eclipse?

What are the best JVM settings you have found for running Eclipse?
Craig Angus
  • 22,784
  • 18
  • 55
  • 63
312
votes
64 answers

Developing for Android in Eclipse: R.java not regenerating

I've found out that my R.java is never updated, so it doesn't contain information about my new resources, so I decided to delete it and thought that Eclipse would generate a new one. But that didn't happen, and I don't have R.java now. How can I…
Aleksejs Popovs
  • 850
  • 2
  • 12
  • 18
309
votes
16 answers

frequent issues arising in android view, Error parsing XML: unbound prefix

I have frequent problem in android view, Error parsing XML: unbound prefix on Line 2.
Pentium10
  • 204,586
  • 122
  • 423
  • 502
306
votes
39 answers

What to do about Eclipse's "No repository found containing: ..." error messages?

I'm running Eclipse's Helios EE bundle on Linux to which I added the subversive plugins, the m2e Maven integration and the Mylin connector for Trac. For the last couple of weeks I've been trying to install updates, and every time I get back a…
agnul
  • 12,608
  • 14
  • 63
  • 85
304
votes
14 answers

Eclipse cannot load SWT libraries

Every time I try to open Eclipse in Ubuntu 12.04 I get an Unsatisfied Link Error and it will not open. I have recently installed the java JDK and Android SDK, could this be the problem? I followed this tutorial. Here is the log info: !SESSION…
TomRichardson
  • 5,933
  • 5
  • 27
  • 30
301
votes
11 answers

How to install plugin for Eclipse from .zip

How to install Eclipse plugin from .zip? I have installed plugins by choosing the site and then check but never from .zip. Can anybody help?
Damir
  • 54,277
  • 94
  • 246
  • 365
300
votes
19 answers

What is Eclipse's Ctrl+O (Show Outline) shortcut equivalent in IntelliJ IDEA?

I like to use Eclipse's shortcut Ctrl + O which outlines the current source. Is there an equivalent shortcut in IntelliJ IDEA? It opens a dialog which allows for quick search of methods and fields in a class.
Boris Pavlović
  • 63,078
  • 28
  • 122
  • 148
293
votes
17 answers

Eclipse hangs at the Android SDK Content Loader

I've been working with Eclipse 4.2 (Juno release 20120920-0800) on OS X 10.8.2 for a few weeks now, building apps for Android 3.0 and above. I have a quad core i7 MacBook Pro with an SSD, so performance is not an issue. Everything was fine. At some…
slhck
  • 36,575
  • 28
  • 148
  • 201
289
votes
18 answers

Eclipse does not highlight matching variables

Eclipse does not highlight matching variables for me: I've already tried to change "Mark occurrences" via Window -> Preferences -> Java -> Editor -> Mark Occurrences but it didn't work. I am not sure why this is not working while others have been…
Seho Lee
  • 4,048
  • 9
  • 32
  • 42
286
votes
35 answers

Eclipse - no Java (JRE) / (JDK) ... no virtual machine

I am trying to get Eclipse v3.5 (Galileo) to re-run on my computer - I have run it before with no problems, but now I keep getting this error: A Java Runtime Environment (JRE) or Java Development kit (JDK) must be available in order to run Eclipse.…
Wallter
  • 4,275
  • 6
  • 29
  • 33
284
votes
2 answers

How do I enable index downloads in Eclipse for Maven dependency search?

I am using Eclipse Luna with the m2e plug-in. When I search for dependencies, I get the following warning (also see the screenshot after): Index downloads are disabled, search result may be incomplete. How can I enable index downloads?
Ashish
  • 14,295
  • 21
  • 82
  • 127
283
votes
19 answers

Is there a way to automatically generate getters and setters in Eclipse?

I am working on a new Android project (Java), and created an Object with a large number of variables. Since I am planning to add getters and setters for all of them, I was wondering: is there a shortcut in Eclipse for automatically generating the…
Phil
  • 35,852
  • 23
  • 123
  • 164
283
votes
18 answers

Eclipse comment/uncomment shortcut?

I thought this would be easy to achieve, but so far I haven't found solutions for comment/uncomment shortcut on both Java class editor and jsf faceted webapp XHTML file editor : to quickly comment/uncomment a line (like ctrl + d is for removing…
Bertie
  • 17,277
  • 45
  • 129
  • 182