Eclipse can't run Java after recent update on Ubuntu
Oliver Ruebenacker
curoli at gmail.com
Wed Sep 12 16:06:08 UTC 2012
Hello,
I'm running Eclipse 3.7.2 on Ubuntu 11.10. Yesterday, I applied some
updates regarding OpenJDK that were offered automatically. I have
installed both OpenJDK 6 and 7. I
still can run Java applications outside of Eclipse, but not in Eclipse
any more. Further, if in Eclipse, I open Preferences and select Java >
"Installed JREs", the view is empty except of the following message:
"An error has occurred when creating this preference page."
A separate dialogue opens which says:
"Unable to create the selected preference page.
An error occurred while automatically activating bundle
org.eclipse.jdt.debug.ui (162)."
The dialogue has a link to an error log, which says:
java.lang.NoClassDefFoundError: Could not initialize class
com.ibm.icu.text.SimpleDateFormat
at org.eclipse.ui.internal.views.log.LogSession.setDate(LogSession.java:43)
at org.eclipse.ui.internal.views.log.LogSession.processLogLine(LogSession.java:67)
at org.eclipse.ui.internal.views.log.LogReader.parseLogFile(LogReader.java:94)
at org.eclipse.ui.internal.views.log.LogView.readLogFile(LogView.java:811)
at org.eclipse.ui.internal.views.log.LogView.createPartControl(LogView.java:171)
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2245)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1145)
at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3921)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3918)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3894)
at org.eclipse.ui.internal.statushandlers.InternalDialog$7.widgetSelected(InternalDialog.java:970)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1258)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1282)
at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1396)
at org.eclipse.swt.widgets.Link.gtk_button_release_event(Link.java:339)
at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1732)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:5016)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4408)
at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8422)
at org.eclipse.swt.widgets.Display.eventProc(Display.java:1245)
at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native
Method)
at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2276)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3207)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
Any idea what is going on?
Thanks!
Take care
Oliver
--
Scientific Developer at PanGenX (http://www.pangenx.com)
"Stagnation and the search for truth are always opposites." - Nadezhda
Tolokonnikova
More information about the discuss
mailing list