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
283
votes
15 answers

How to change the Eclipse default workspace?

Where can I change the default workspace in Eclipse?
user496949
  • 83,087
  • 147
  • 309
  • 426
280
votes
37 answers

Several ports (8005, 8080, 8009) required by Tomcat Server at localhost are already in use

I'm getting the following error when I try to run a simple JSP program on Tomcat in Eclipse. Several ports (8005, 8080, 8009) required by Tomcat v6.0 Server at localhost are already in use. The server may already be running in another process, or…
elle
  • 3,195
  • 6
  • 25
  • 23
280
votes
10 answers

Avoiding "resource is out of sync with the filesystem"

I develop Java code with Eclipse and regularly get this message: resource is out of sync with the filesystem. Right-click > Refresh will always clear this. But why can't Eclipse refresh automatically when it finds this condition? Are there cases…
peter.murray.rust
  • 37,407
  • 44
  • 153
  • 217
280
votes
12 answers

Class JavaLaunchHelper is implemented in both ... libinstrument.dylib. One of the two will be used. Which one is undefined

I upgraded to the latest Java 7u40 on MacOS X and started getting the following message on the console when launching my application using Eclipse. The app works fine but I would like to find out the cause of the problem and hopefully a fix for it.…
ams
  • 60,316
  • 68
  • 200
  • 288
279
votes
6 answers

Exclude folders from Eclipse search

Is there a way to exclude certain folders (and all their subfolders) from searching within Eclipse?
Dónal
  • 185,044
  • 174
  • 569
  • 824
277
votes
10 answers

How to change the value of ${user} variable used in Eclipse templates

Instead of hardcoding the default @author template I would like Eclipse to use user's real name taken from account information (in Linux - but Windows solution is also welcome). Entering it somewhere into Eclipse configuration would be acceptable,…
Rajish
  • 6,755
  • 4
  • 34
  • 51
272
votes
3 answers

What do the icons in Eclipse mean?

What do the icons in the Eclipse debugger mean? What do the icon decorators in Eclipse mean? What do the icons in Eclipse's Package Explorer mean? What do the little letters on top of Eclipse icons mean? What's the difference between the two error…
Pops
  • 30,199
  • 37
  • 136
  • 151
268
votes
11 answers

Is there a keyboard shortcut to "untab" (move a block of code to the left) in Eclipse or Aptana Studio?

It's so easy to select a block of code and tab out, but how about the reverse? Currently, I just search and replace for white space at the beginning of the line. Is there anything faster?
Keith Bentrup
  • 11,834
  • 7
  • 49
  • 56
264
votes
12 answers

Eclipse add Tomcat 7 blank server name

I was trying to add Tomcat 7 in my Eclipse in Ubuntu. When I click "Add new server" in Eclipse and select "Tomcat v7.0 Server", the field "Server Name" is blank and I cannot type in anything in that textbox as shown below: What I did before is I…
tonga
  • 11,749
  • 25
  • 75
  • 96
264
votes
22 answers

How do I resolve the "java.net.BindException: Address already in use: JVM_Bind" error?

In Eclipse, I got this error: run: [java] Error creating the server socket. [java] Oct 04, 2012 5:31:38 PM cascadas.ace.AceFactory bootstrap [java] SEVERE: Failed to create world : java.net.BindException: Address already in use:…
Caffeinated
  • 11,982
  • 40
  • 122
  • 216
260
votes
9 answers

Convert Existing Eclipse Project to Maven Project

For a project at work, we're considering using the Maven plugin for Eclipse to automate our builds. Right now the procedure is far more complicated than it ought to be, and we're hoping that Maven will simplify things to a one-click build. My…
Thorn G
  • 12,620
  • 2
  • 44
  • 56
257
votes
12 answers

How to attach javadoc or sources to jars in libs folder?

New version of ADT r17 plugin for Eclipse added feature to automatically setup JAR dependencies. Any .jar files in the /libs folder are added to the build configuration now. Unfortunately Android Dependencies classpath container is non…
Sergii Pechenizkyi
  • 22,227
  • 7
  • 60
  • 71
257
votes
26 answers

Eclipse copy/paste entire line keyboard shortcut

Anyone know the keyboard shortcut to copy/paste a line into a new line in Eclipse, without having to highlight the entire line? ctrl-alt-down turns my whole screen upside down (I'm on windows). Interestingly, that's what's specified in the…
Prabhu
  • 12,995
  • 33
  • 127
  • 210
257
votes
11 answers

Eclipse fonts and background color

I have been trying to change the background color of Eclipse's windows to black and customize the font colors. There doesn't seem to be a way to do this, at least not in an obvious way. I am using version 3.3. How do I do this or are there any…
abarax
  • 6,229
  • 8
  • 28
  • 30
257
votes
6 answers

Find TODO tags in Eclipse

When I used Eclipse to add unimplemented methods to a Java class to fix an error, methods were auto-generated and include // TODO Auto-generated method stub Is there an easy way to view all methods which contain this comment? Some sort of menu…
KPrince36
  • 2,886
  • 2
  • 21
  • 29