LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 09-13-2012, 05:17 PM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Rep: Reputation: 81
eclipse stopped working correctly all of the sudden


Hi!

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:
Code:
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).

Code:
$ which java
/usr/bin/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)

Last edited by eantoranz; 09-13-2012 at 05:25 PM. Reason: typo
 
Old 09-13-2012, 05:53 PM   #2
ShadowCat8
Member
 
Registered: Nov 2004
Location: Arcadia, CA
Distribution: Gentoo, Sabayon, (RedHat4.x-9.x, FedoraCore 1.x-4.x, Debian Potato-Sarge, LFS 6.0, etc.)
Posts: 209

Rep: Reputation: 43
Greetings,

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.
 
Old 09-13-2012, 06:07 PM   #3
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Original Poster
Rep: Reputation: 81
Sounds like a simple test. Setting JAVA_HOME would suffice?
 
Old 09-14-2012, 08:53 AM   #4
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Original Poster
Rep: Reputation: 81
Code:
$ export JAVA_HOME=~/Descargas/java/jdk1.5.0_22/
$ ~/Descargas/eclipse/eclipse/eclipse
Same thing.
 
Old 09-14-2012, 09:00 AM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Original Poster
Rep: Reputation: 81
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?
 
Old 09-14-2012, 09:05 AM   #6
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Original Poster
Rep: Reputation: 81
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.
 
Old 09-14-2012, 09:24 AM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Original Poster
Rep: Reputation: 81
-debug (single -) showed up some output.... however, nothing when the error shows up.

Code:
$ ~/Descargas/eclipse/eclipse/eclipse -debug
Start VM: -Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=/home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-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/eclipse_1502.so
-startup /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-debug
-vm /usr/lib/jvm/java-6-openjdk-i386/jre/bin/../lib/i386/client/libjvm.so
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
-Djava.class.path=/home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar 
Install location:
    file:/home/antoranz/Descargas/eclipse/eclipse/
Configuration file:
    file:/home/antoranz/Descargas/eclipse/eclipse/configuration/config.ini loaded
Configuration location:
    file:/home/antoranz/Descargas/eclipse/eclipse/configuration/
Framework located:
    file:/home/antoranz/Descargas/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.0.v20120529-1548.jar
Framework classpath:
    file:/home/antoranz/Descargas/eclipse/eclipse/plugins/org.eclipse.osgi_3.8.0.v20120529-1548.jar
Splash location:
    /home/antoranz/Descargas/eclipse/eclipse//plugins/org.eclipse.platform_4.2.0.v201206081400/splash.bmp
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.

Last edited by eantoranz; 09-14-2012 at 09:24 AM. Reason: typo
 
Old 09-14-2012, 09:26 AM   #8
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Original Poster
Rep: Reputation: 81
Ok... found something else here: http://help.eclipse.org/juno/topic/o...62%75%67%22%20

Let's see where this takes me to.
 
Old 09-14-2012, 09:40 AM   #9
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,956
Blog Entries: 1

Original Poster
Rep: Reputation: 81
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:

Code:
-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU
Link where I got the tip from? http://stackoverflow.com/questions/1...timezone-issue
 
  


Reply

Tags
eclipse, java, kubuntu


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
my USB pen drive plug and play stopped all of a sudden nkd Linux - Newbie 6 09-23-2007 02:14 PM
Ethernet card stopped working all of a sudden nsfx Linux - Networking 2 12-19-2006 07:18 PM
alsa stopped working all of a sudden kryptobs2000 Linux - Software 1 05-27-2006 12:26 PM
No sound (used to work, stopped working all of a sudden) tomj88 Debian 5 08-05-2005 03:21 PM
proxim rangelan ds stopped working all of a sudden sichen Linux - Wireless Networking 5 04-04-2005 05:09 PM


All times are GMT -5. The time now is 11:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration