Strona 1 z 1

Eclipse C++ problem.

: 02 maja 2008, 18:45
autor: Szupien
Witam!
Mam problem z eclipse c++ (w ubuntu tez był i nie rozwiazałem go ;( )
Problem polega:
Wyswietla sie komunikat:
Error creating the view.
Wyłaczam go pokazuje sie znowu , w bocznych menu. Gdy próbuje stworzyć nowy projekt to nic nie tworzy sie.

Czasami pokazuje sie jeszcze:

Kod: Zaznacz cały

java.lang.ClassNotFoundException: org.eclipse.core.runtime.Plugin
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:434)
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
   at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
   at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.java:83)
   at java.lang.ClassLoader.loadClass(libgcj.so.90)
   at org.eclipse.core.runtime.Platform.getPlugin(Platform.java:736)
   at org.eclipse.core.internal.preferences.legacy.InitLegacyPreferences.init(InitLegacyPreferences.java:43)
   at org.eclipse.core.internal.preferences.PreferenceServiceRegistryHelper.applyRuntimeDefaults(PreferenceServiceRegistryHelper.java:146)
   at org.eclipse.core.internal.preferences.PreferencesService.applyRuntimeDefaults(PreferencesService.java:344)
   at org.eclipse.core.internal.preferences.DefaultPreferences.applyRuntimeDefaults(DefaultPreferences.java:163)
   at org.eclipse.core.internal.preferences.DefaultPreferences.loadDefaults(DefaultPreferences.java:236)
   at org.eclipse.core.internal.preferences.DefaultPreferences.load(DefaultPreferences.java:232)
   at org.eclipse.core.internal.preferences.EclipsePreferences.create(EclipsePreferences.java:307)
   at org.eclipse.core.internal.preferences.EclipsePreferences.internalNode(EclipsePreferences.java:543)
   at org.eclipse.core.internal.preferences.DefaultPreferences.node(DefaultPreferences.java:150)
   at org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getDefaultPreferences(PreferenceForwarder.java:130)
   at org.eclipse.core.internal.preferences.legacy.PreferenceForwarder.getString(PreferenceForwarder.java:636)
   at org.eclipse.ui.internal.intro.impl.model.IntroModelRoot.loadTheme(IntroModelRoot.java:260)
   at org.eclipse.ui.internal.intro.impl.model.IntroModelRoot.loadChildren(IntroModelRoot.java:177)
   at org.eclipse.ui.internal.intro.impl.model.AbstractIntroContainer.getChildren(AbstractIntroContainer.java:78)
   at org.eclipse.ui.internal.intro.impl.model.IntroModelRoot.loadModel(IntroModelRoot.java:150)
   at org.eclipse.ui.internal.intro.impl.model.loader.BaseExtensionPointManager.loadModel(BaseExtensionPointManager.java:95)
   at org.eclipse.ui.internal.intro.impl.model.loader.ExtensionPointManager.loadCurrentModel(ExtensionPointManager.java:61)
   at org.eclipse.ui.internal.intro.impl.model.loader.ExtensionPointManager.getCurrentModel(ExtensionPointManager.java:73)
   at org.eclipse.ui.intro.config.CustomizableIntroPart.init(CustomizableIntroPart.java: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.java: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.java:120)
   at org.eclipse.ui.internal.WorkbenchWindow$18.runWithException(WorkbenchWindow.java:2146)
   at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
   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:801)
   at org.eclipse.ui.internal.Workbench$25.runWithException(Workbench.java:1342)
   at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
   at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
   at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:129)
   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.java:106)
   at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
   at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.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.90)
   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)

: 02 maja 2008, 19:05
autor: droopy
próbowałeś update-java-alternatives ?

Kod: Zaznacz cały

# update-java-alternatives -l
java-6-sun 63 /usr/lib/jvm/java-6-sun
java-gcj 1042 /usr/lib/jvm/java-gcj
# update-java-alternatives -s java-6-sun

: 02 maja 2008, 19:09
autor: Szupien
Tak ale tylko te 1 i ostatnie

: 02 maja 2008, 19:12
autor: droopy
u mnie podziałało jak tylko przełączyłem na jave-6-sun...
eclipsa mam w wersji 3.3.2

: 02 maja 2008, 19:52
autor: Szupien
ja mam europa c++ :P