Skip to main content

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.

Filter by
Sorted by
Tagged with
1992 votes
18 answers
284k views

"Debug certificate expired" error in Eclipse Android plugins

I am using Eclipse Android plugins to build a project, but I am getting this error in the console window: [2010-02-03 10:31:14 - androidVNC]Error generating final archive: Debug certificate expired ...
hap497's user avatar
  • 160k
1305 votes
13 answers
269k views

'Must Override a Superclass Method' Errors after importing a project into Eclipse

Anytime I have to re-import my projects into Eclipse (if I reinstalled Eclipse, or changed the location of the projects), almost all of my overridden methods are not formatted correctly, causing the ...
Tim H's user avatar
  • 13.5k
1295 votes
42 answers
675k views

How can you speed up Eclipse?

How can you make the experience with Eclipse faster? For instance: I disable all the plugins I don't need (Mylyn, Subclipse, …). Instead of using a plugin for Mercurial, I configure ...
1130 votes
108 answers
905k views

R cannot be resolved - Android error

I just downloaded and installed the new Android SDK. I wanted to create a simple application to test drive it. The wizard created this code: package eu.mauriziopz.gps; import android.app.Activity; ...
1044 votes
44 answers
1.7m views

Can't start Eclipse - Java was started but returned exit code=13

I am trying to get my first taste of Android development using Eclipse. I ran into this problem when trying to run Eclipse, having installed version 4.2 only minutes ago. After first trying to start ...
Ben E.'s user avatar
  • 10.6k
1010 votes
32 answers
1.3m views

How to solve "Plugin execution not covered by lifecycle configuration" for Spring Data Maven Builds

I am trying to work with Spring Data and Neo4j. I started by trying to follow this guide linked to by the main site. In particular I based my pom.xml off of the "Hello, World!" example file. Here is a ...
Andrew White's user avatar
  • 53.2k
969 votes
39 answers
1.6m views

Failed to load the JNI shared Library (JDK)

When I try opening Eclipse, a pop-up dialog states: Failed to load the JNI shared library "C:/JDK/bin/client/jvm.dll"`. Following this, Eclipse force closes. Here's a few points I'd like to make: ...
949 votes
23 answers
569k views

How do I change Eclipse to use spaces instead of tabs?

By default Eclipse indents with a hard tab character. How do I change it to spaces?
Brian Deacon's user avatar
  • 21.7k
844 votes
15 answers
681k views

Access restriction on class due to restriction on required library rt.jar?

I'm attempting to compile Java 1.4 code that was created by IBM's WSDL2Java on Java5 without recreating the stubs and saw this error in Eclipse. I'm under the assumption that the stubs generated ...
sal's user avatar
  • 23.5k
764 votes
14 answers
456k views

Does a "Find in project..." feature exist in Eclipse IDE?

Does Eclipse have a way to search a whole project for some text like Xcode's "find in project" feature?
William Jockusch's user avatar
751 votes
16 answers
447k views

How can I show line numbers in Eclipse?

How can I show line numbers by default in Eclipse?
user avatar
725 votes
38 answers
1.5m views

No compiler is provided in this environment. Perhaps you are running on a JRE rather than a JDK?

I'm compiling a project in Eclipse using m2eclipse. I set the JDK path in Eclipse like this: Windows-->preferences-->installed jres--> jdk1.7.xx path But this is showing an error [ERROR] ...
Sai prateek's user avatar
  • 11.8k
713 votes
24 answers
311k views

Eclipse HotKey: how to switch between tabs?

How can I switch between opened windows in Eclipse? There is Ctrl+F6, but it's asking me which one I want, but I want switch it like tabs in browser or window in operating system (Cmd/Win+Tab) without ...
Skay's user avatar
  • 9,423
680 votes
22 answers
190k views

IntelliJ show JavaDocs tooltip on mouse over

In Eclipse, when hovering over a method, variable, etc. a tooltip is displayed with the corresponding JavaDocs. Is there such a feature in IntelliJ?
Steve Kuo's user avatar
  • 62.6k
679 votes
10 answers
304k views

Clearing coverage highlighting in Eclipse

After running coverage reports in Eclipse (using cobertura or an EMMA plugin), my source code files get highlighted in green, red and yellow depending on which lines of code were covered by tests. ...
Charbel's user avatar
  • 14.6k
659 votes
25 answers
461k views

Eclipse/Java code completion not working

I've downloaded, unzipped and setup Eclipse 3.4.2 with some plugins (noteable, EPIC, Clearcase, QuantumDB, MisterQ). Now I find when I'm editing Java projects the code completion is not working. If ...
Robert Brown's user avatar
639 votes
32 answers
441k views

What are the pros and cons of the SVN plugins for Eclipse, Subclipse and Subversive? [closed]

SVN in Eclipse is spread into two camps. The SVN people have developed a plugin called Subclipse. The Eclipse people have a plugin called Subversive. Broadly speaking they both do the same things. ...
620 votes
43 answers
231k views

Update Eclipse with Android development tools v. 23

I updated Eclipse with the new SDK tools (rev. 23), but now when Eclipse starts I receive the error: This Android SDK requires Android Developer Toolkit version 23.0.0 or above. Current version is ...
greywolf82's user avatar
  • 22.1k
574 votes
10 answers
234k views

Eclipse: Set maximum line length for auto formatting?

I am working with Java. If I hit Ctrl+Shift+F in Eclipse Helios, it will auto format my code. At a certain point, it wraps lines. I would like to increase the maximum line length. How can I do this?
Nick Heiner's user avatar
572 votes
17 answers
263k views

Is there a way to collapse all code blocks in Eclipse?

Eclipse has that "+/-" on the left to expand and collapse blocks of code. I've got tens of thousands of lines to go through and would really like to just collapse everything, and selectively expand ...
ambertch's user avatar
  • 7,639
554 votes
23 answers
290k views

Java equivalent to #region in C#

I want to use regions for code folding in Eclipse; how can that be done in Java? An example usage in C#: #region name //code #endregion
Pentium10's user avatar
  • 207k
551 votes
6 answers
158k views

Possible heap pollution via varargs parameter

I understand this occurs with Java 7 when using varargs with a generic type; But my question is.. What exactly does Eclipse mean when it says "its use could potentially pollute the heap?" And How ...
hertzsprung's user avatar
  • 9,794
549 votes
14 answers
215k views

How can I get Eclipse to show .* files?

By default, Eclipse won't show my .htaccess file that I maintain in my project. It just shows an empty folder in the Package Viewer tree. How can I get it to show up? No obvious preferences.
jodonnell's user avatar
  • 50.3k
531 votes
14 answers
191k views

How to turn off the Eclipse code formatter for certain sections of Java code?

I've got some Java code with SQL statements written as Java strings (please no OR/M flamewars, the embedded SQL is what it is - not my decision). I've broken the SQL statements semantically into ...
Greg Mattes's user avatar
  • 33.7k
522 votes
46 answers
215k views

Seeking useful Eclipse Java code templates [closed]

You can create various Java code templates in Eclipse via Window > Preferences > Java > Editor > Templates e.g. sysout is expanded to: System.out.println(${word_selection}${});${cursor} You can ...
500 votes
18 answers
757k views

How to change font size in Eclipse for Java text editors?

I have just tried to change my font size in Eclipse 3.6.0 in the following way: General → Appearance → Colors and Fonts → Java Editor text font However, the font size only changed ...
Venkat's user avatar
  • 21.3k
487 votes
32 answers
964k views

No appenders could be found for logger(log4j)?

I have put log4j to my buildpath, but I get the following message when I run my application: log4j:WARN No appenders could be found for logger (dao.hsqlmanager). log4j:WARN Please initialize the ...
maximus's user avatar
  • 11.5k
485 votes
9 answers
213k views

Android Min SDK Version vs. Target SDK Version

When it comes to developing applications for Android, what is the difference between Min and Target SDK version? Eclipse won't let me create a new project unless Min and Target versions are the same!
Michael Novello's user avatar
462 votes
14 answers
998k views

The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path [duplicate]

I have a project created by Maven integration in Eclipse. All work fine, but in the work space in all JSP files have this: The superclass "javax.servlet.http.HttpServlet" was not found on the Java ...
disable1992's user avatar
  • 4,923
453 votes
13 answers
737k views

How to auto-format code in Eclipse?

How do you auto-format code in Eclipse?
HasanAboShally's user avatar
433 votes
3 answers
293k views

How to view hierarchical package structure in Eclipse package explorer

OK here's what I would like: in the Eclipse package explorer, I see the following: (dot represents a clickable arrow that I can use to expand the folder) PROJECT Source Folder Package ...
Philip's user avatar
  • 7,283
432 votes
14 answers
199k views

How to auto-remove trailing whitespace in Eclipse?

The question has two parts, one of which I already have the answer for. How to auto-remove trailing whitespace from the entire file being edited? -> Answer: use the AnyEdit plugin, which can be set ...
Jan Żankowski's user avatar
429 votes
12 answers
542k views

How to build an APK file in Eclipse?

When I develop the project using Eclipse, the APK file goes on the emulator. But I want to upload my application to a real device. Is there a tool to build an APK file? What is the process? Or is it ...
sean's user avatar
  • 9,248
425 votes
19 answers
308k views

Dark color scheme for Eclipse [closed]

Is Eclipse at all theme-able? I would like to install a dark color scheme for it, since I much prefer white text on dark background than the other way around.
Bartosz Radaczyński's user avatar
423 votes
21 answers
777k views

Eclipse IDE for Java - Full Dark Theme

Is there any way to completely turn Eclipse to a dark IDE? Here's a Picture of what I'm asking: I don't mind doing 1 hour of work to do something like this :D EDIT: As Konstantin Komissarchik said, I ...
Alireza Noori's user avatar
420 votes
9 answers
114k views

Eclipse Optimize Imports to Include Static Imports

Is there anyway to get Eclipse to automatically look for static imports? For example, now that I've finally upgraded to Junit 4, I'd like to be able to write: assertEquals(expectedValue, actualValue);...
Paul Croarkin's user avatar
411 votes
15 answers
234k views

How to fix error "Updating Maven Project". Unsupported IClasspathEntry kind=4?

I have imported maven project in STS, when I run update update project I receive: "Updating Maven Project". Unsupported IClasspathEntry kind=4 Is there a workaround for this?
user810430's user avatar
  • 11.3k
405 votes
39 answers
1.2m views

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 ...
user5218071's user avatar
  • 4,061
402 votes
42 answers
443k views

Eclipse - Unable to install breakpoint due to missing line number attributes

I am getting this strange error in Eclipse while trying to set a breakpoint. Unable to insert breakpoint Absent Line Number Information I ticked the checkbox from Compiler options but no luck.
chandrajeet's user avatar
  • 8,923
402 votes
30 answers
358k views

How do you debug PHP scripts? [closed]

How do you debug PHP scripts? I am aware of basic debugging such as using the Error Reporting. The breakpoint debugging in PHPEclipse is also quite useful. What is the best (in terms of fast and ...
400 votes
7 answers
171k views

Eclipse jump to closing brace

What is the keyboard short cut in Eclipse to jump to the closing brace of a scope?
Trastle's user avatar
  • 5,165
398 votes
54 answers
452k views

Unable to execute dex: Multiple dex files define Lcom/myapp/R$array;

Since updating to ADT 14 I can no longer build my project. It was building fine prior to updating. The error: [2011-10-23 16:23:29 - Dex Loader] Unable to execute dex: Multiple dex files define ...
379 votes
8 answers
210k views

How do I enable the column selection mode in Eclipse?

News wrote that Eclipse 3.5 finally supports column selection. Unfortunately I don't know HOW to enable it. I tried pressing the ALT-key like I am used to in Visual Studio and all other Microsoft ...
vobject's user avatar
  • 5,290
365 votes
41 answers
238k views

Things possible in IntelliJ that aren't possible in Eclipse?

I have heard from people who have switched either way and who swear by the one or the other. Being a huge Eclipse fan but having not had the time to try out IntelliJ, I am interested in hearing from ...
360 votes
10 answers
210k views

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 ...
Uri's user avatar
  • 89.3k
360 votes
12 answers
958k views

How to import a jar in Eclipse?

How do I import a jar in Eclipse?
user395734's user avatar
  • 3,611
358 votes
8 answers
222k views

How do I remove javascript validation from my eclipse project?

I am using eclipse on my project and while messing around with my eclipse settings, I turned on Javascript support. Now eclipse complains that JQuery library has errors in it and is not letting me ...
Ritesh M Nayak's user avatar
356 votes
17 answers
776k views

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's user avatar
  • 4,961
352 votes
31 answers
563k views

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 ...
EdgarZeng's user avatar
  • 3,698
349 votes
13 answers
1.1m views

Maven in Eclipse: step by step installation [closed]

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 ...
IAmYourFaja's user avatar
  • 56.5k

1
2 3 4 5
2500