Eclipse can't run Java after recent update
Hello,
No idea why, but putting this line
-Dcom.ibm.icu.util.TimeZone.DefaultTimeZoneType=ICU
at the end of eclipse.ini seems to have solved the issue.
Take care
Oliver
On Wed, Sep 12, 2012 at 11:51 AM, Oliver Ruebenacker <curoli@gmail.com> wrote:
> Hello,
>
> Yesterday evening, 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.setDa te(LogSession.java:43)
> at org.eclipse.ui.internal.views.log.LogSession.proce ssLogLine(LogSession.java:67)
> at org.eclipse.ui.internal.views.log.LogReader.parseL ogFile(LogReader.java:94)
> at org.eclipse.ui.internal.views.log.LogView.readLogF ile(LogView.java:811)
> at org.eclipse.ui.internal.views.log.LogView.createPa rtControl(LogView.java:171)
> at org.eclipse.ui.internal.ViewReference.createPartHe lper(ViewReference.java:375)
> at org.eclipse.ui.internal.ViewReference.createPart(V iewReference.java:229)
> at org.eclipse.ui.internal.WorkbenchPartReference.get Part(WorkbenchPartReference.java:595)
> at org.eclipse.ui.internal.Perspective.showView(Persp ective.java:2245)
> at org.eclipse.ui.internal.WorkbenchPage.busyShowView (WorkbenchPage.java:1145)
> at org.eclipse.ui.internal.WorkbenchPage$20.run(Workb enchPage.java:3921)
> at org.eclipse.swt.custom.BusyIndicator.showWhile(Bus yIndicator.java:70)
> at org.eclipse.ui.internal.WorkbenchPage.showView(Wor kbenchPage.java:3918)
> at org.eclipse.ui.internal.WorkbenchPage.showView(Wor kbenchPage.java:3894)
> at org.eclipse.ui.internal.statushandlers.InternalDia log$7.widgetSelected(InternalDialog.java:970)
> at org.eclipse.swt.widgets.TypedListener.handleEvent( TypedListener.java:240)
> at org.eclipse.swt.widgets.EventTable.sendEvent(Event Table.java:84)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1258)
> at org.eclipse.swt.widgets.Widget.sendEvent(Widget.ja va:1282)
> at org.eclipse.swt.widgets.Widget.sendSelectionEvent( Widget.java:1396)
> at org.eclipse.swt.widgets.Link.gtk_button_release_ev ent(Link.java:339)
> at org.eclipse.swt.widgets.Widget.windowProc(Widget.j ava: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_it eration(Native Method)
> at org.eclipse.swt.internal.gtk.OS.g_main_context_ite ration(OS.java:2276)
> at org.eclipse.swt.widgets.Display.readAndDispatch(Di splay.java:3207)
> at org.eclipse.ui.internal.Workbench.runEventLoop(Wor kbench.java:2701)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench. java:2665)
> at org.eclipse.ui.internal.Workbench.access$4(Workben ch.java:2499)
> at org.eclipse.ui.internal.Workbench$7.run(Workbench. java:679)
> at org.eclipse.core.databinding.observable.Realm.runW ithDefault(Realm.java:332)
> at org.eclipse.ui.internal.Workbench.createAndRunWork bench(Workbench.java:668)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Pl atformUI.java:149)
> at org.eclipse.ui.internal.ide.application.IDEApplica tion.start(IDEApplication.java:123)
> at org.eclipse.equinox.internal.app.EclipseAppHandle. run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.runApplication(EclipseAppLauncher.java: 110)
> at org.eclipse.core.runtime.internal.adaptor.EclipseA ppLauncher.start(EclipseAppLauncher.java:79)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:344)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.ru n(EclipseStarter.java:179)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.java:57)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAccessorImpl.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.ja va:577)
> at org.eclipse.equinox.launcher.Main.run(Main.java:14 10)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1 386)
>
> 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
--
Scientific Developer at PanGenX (http://www.pangenx.com)
"Stagnation and the search for truth are always opposites." - Nadezhda
Tolokonnikova
--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
|