LINUX.ORG.RU

Ошибка при запуске Photran (Eclipse)


0

0

Скачал Linux-GTK полную версию Photran, но в окне программы вместо
виджетов с отображением проекта и некого Welcome (не знаю, что там
должно быть) выдается такая вот ошибка:

java.lang.ClassNotFoundException: org.eclipse.core.runtime.Plugin
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleL oader.java:434)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.ja va:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.ja va:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClass Loader.java:83)
at java.lang.ClassLoader.loadClass(libgcj.so.81)
at org.eclipse.core.runtime.Platform.getPlugin(Platform.java:736)
at org.eclipse.core.internal.preferences.legacy.InitLegacyPreferences.init(InitLeg acyPreferences.java:43)
at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRunt imeDefaults(PreferenceServiceRegistryHelper.java:146)
at org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(P referencesService.java:337)
at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(D efaultPreferences.java:163)
at org.eclipse.core.internal.preferences.DefaultPreferences.loadDefaults(DefaultPr eferences.java:236)
at org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreference s.java:232)
at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferen ces.java:307)
at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePr eferences.java:543)
at org.eclipse.core.internal.preferences.DefaultPreferences.node(DefaultPreference s.java:150)
at org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getDefaultPref erences(PreferenceForwarder.java:130)
at org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getString(Pref erenceForwarder.java:636)
at org.eclipse.ui.internal.intro.impl.model.IntroModelRoot.loadTheme(IntroModelRoo t.java:260)
at org.eclipse.ui.internal.intro.impl.model.IntroModelRoot.loadChildren(IntroModel Root.java:177)
at org.eclipse.ui.internal.intro.impl.model.AbstractIntroContainer.getChildren(Abs tractIntroContainer.java:78)
at org.eclipse.ui.internal.intro.impl.model.IntroModelRoot.loadModel(IntroModelRoo t.java:150)
at org.eclipse.ui.internal.intro.impl.model.loader.BaseExtensionPointManager.loadM odel(BaseExtensionPointManager.java:95)
at org.eclipse.ui.internal.intro.impl.model.loader.ExtensionPointManager.loadCurre ntModel(ExtensionPointManager.java:61)
at org.eclipse.ui.internal.intro.impl.model.loader.ExtensionPointManager.getCurren tModel(ExtensionPointManager.java:73)
at org.eclipse.ui.intro.config.CustomizableIntroPart.init(CustomizableIntroPart.ja va:151)
at org.eclipse.ui.internal.ViewIntroAdapterPart.init(ViewIntroAdapterPart.java:156 )
at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:343)
at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:227)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.j ava:592)
at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2086)
at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1027)
at org.eclipse.ui.internal.WorkbenchPage.access$19(WorkbenchPage.java:1008)
at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.java:3684)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3681)
at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3657)
at org.eclipse.ui.internal.WorkbenchIntroManager.createIntro(WorkbenchIntroManager .java:173)
at org.eclipse.ui.internal.WorkbenchIntroManager.showIntro(WorkbenchIntroManager.j ava:120)
at org.eclipse.ui.internal.WorkbenchWindow$18.runWithException(WorkbenchWindow.jav a:2146)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.j ava:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:8 01)
at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.j ava:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3296)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2974)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2309)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.jav a:106)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169 )
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ecl ipseAppLauncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLa uncher.java:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at java.lang.reflect.Method.invoke(libgcj.so.81)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)

Подозреваю, что для работы Eclipse-у нужно поставить какую-нибудь
особую java (дистрибутив Ubuntu 7.10, для java стоит всё только
дефолтное, дополнительного ничего не ставил).

Ответ на: комментарий от anonymous

java version "1.5.0"
gij (GNU libgcj) version 4.2.1 (Ubuntu 4.2.1-5ubuntu5)

Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Alexey-ZAR
() автор топика
Ответ на: комментарий от tailgunner

Именно так и сделал: теперь работает.

Куда-то делось еще одно сообщение, там была вот эта ссылка http://flurdy.com/docs/eclipse/install.html Для установки Eclipse в Убунту очень рекомендую.

Alexey-ZAR
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.