-   Linux - Software (
-   -   eclipse stopped working correctly all of the sudden (

eantoranz 09-13-2012 06:17 PM

eclipse stopped working correctly all of the sudden

Since a couple of hours ago I've been facing problems with eclipse and can't really figured them out. I even deleted the old eclipse I was working with (including workspace) and recreated it from its tgz. I still see the same problems.

When I go into the eclipse preferences frame I can see different errors in different parts of the settings.

When trying to see Java->Debug:

Unable to create the selected preference page

An error occurred while automatically activating
bundle org.eclipse.jdt.debug.ui (146).

If I click on "Show error log", I see a empty "Error Log" frame.

If I go into Java->Installed JREs, I see the exact same type of message. Why is it happening? What can I do to get some verbose output from eclipse to see what's going on?

I'm working on eclipse 4.2.0 on kubuntu 12.04 i386 (updated as of this afternoon).


$ which java
$ java -version
java version "1.6.0_24"
OpenJDK Runtime Environment (IcedTea6 1.11.4) (6b24-1.11.4-1ubuntu0.12.04.1)
OpenJDK Server VM (build 20.0-b12, mixed mode)

ShadowCat8 09-13-2012 06:53 PM


I have a question with regards to this: Can you try to run it against an (oracle/sun)-jdk and see if it still behaves erratically? I was checking the Gentoo bugzilla, I am seeing a number of issues with 4.2.0 and all of them that I have seen so far have been using OpenJDK. I'm just trying to cut down the possible sources of the issues.

HTH. Let us know.

eantoranz 09-13-2012 07:07 PM

Sounds like a simple test. Setting JAVA_HOME would suffice?

eantoranz 09-14-2012 09:53 AM


$ export JAVA_HOME=~/Descargas/java/jdk1.5.0_22/
$ ~/Descargas/eclipse/eclipse/eclipse

Same thing.

eantoranz 09-14-2012 10:00 AM

How can I get debugging output from eclipse? I checked and --debug does nothing. I read somewhere that adding -Xdebug to eclipse.ini would do... but I saw nothing coming out of it. What are other possibilities?

eantoranz 09-14-2012 10:05 AM

I created another user and started eclipse from it.... it was the same problem.... it's starting to point to a software upgrade on ubuntu that broke this thing.

eantoranz 09-14-2012 10:24 AM

-debug (single -) showed up some output.... however, nothing when the error shows up.


$ ~/Descargas/eclipse/eclipse/eclipse -debug
Start VM: -Xms40m
-os linux
-ws gtk
-arch x86
-showsplash /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.platform_4.2.0.v201206081400/splash.bmp
-launcher /home/antoranz/Descargas/eclipse/eclipse/eclipse
-name Eclipse
--launcher.library /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.200.v20120522-1813/
-startup /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-vm /usr/lib/jvm/java-6-openjdk-i386/jre/bin/../lib/i386/client/
Install location:
Configuration file:
    file:/home/antoranz/Descargas/eclipse/eclipse/configuration/config.ini loaded
Configuration location:
Framework located:
Framework classpath:
Splash location:
Debug options:
    file:/home/antoranz/Descargas/eclipse/eclipse/.options not found
Time to load bundles: 4
Starting application: 931
Application Started: 6077

All of that when eclipse was starting up..... nothing else till I closed it.

eantoranz 09-14-2012 10:26 AM

Ok... found something else here:

Let's see where this takes me to.

eantoranz 09-14-2012 10:40 AM

Ok.... thanks to the output from it and to the link I'll post later, I was able to solve this by adding this to eclipse.ini:

Link where I got the tip from?

All times are GMT -5. The time now is 11:21 PM.