• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

Verküpfung funktioniert nicht

Habe mir gerade Eclipse 3.1.1 installiert und es im verzeichnis /usr/share/eclipse gespeichert. wenn ich jetzt mit dem konqueror in das verzeichnis wechsel und die datei eclipse ausführe klappt auch alles einwandfrei.

danach hab ich eine verkmnüpfung per drag and drop, aber auch schon manuell auf dem desktop erstellt und jedesmal wenn ich die verknüpfung ausführen will, dann kommt folgende fehlermeldung:

An error has occurred. See the log file
/home/bodo/.eclipse/org.eclipse.platform_3.1.1/configuration/1134762822171.log.

aber wenn ich das programm über den konqueror ausführe klappt alles einwandfrei. kann mit bitte jemand sagen was ich falsch mache? will nicht jedesmal das programm über den konqueror starten. hab das gleiche auch schon über das startmenü probiert, das ergibt den gleichen fehler.
 
Probier mal die Verknüpfung manuell zu erstellen.

Rechtsklick auf den Desktop | Neu erstellen | Verknüpfung zu Programm.

Dort trägst du unter Befehl dies ein:
Code:
/usr/share/eclipse/eclipse
und unter Arbeitsordner dies:
Code:
/usr/share/eclipse/
Damit sollte es funktionieren - jedenfalls ist es bei mir so.

Edit: Obwohl es bei mir auch schon reicht unter Befehl nur
Code:
eclipse
einzutragen.
 
hab das jetzt mal manuell erstellt und alles so eingegeben, wie du gesagt hast, aber es kommt immer noch der gleiche fehler.
 
in der log-Datei steht folgendes:

!SESSION 2005-12-16 21:15:56.73 ------------------------------------------------
eclipse.buildId=M20050929-0840
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86 -data /home/bodo/.eclipse

!ENTRY update@plugins/org.eclipse.core.runtime.compatibility_3.1.0.jar 0 0 2005-12-16 21:15:57.755
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.plugins.CompatibilityActivator.stop() of bundle org.eclipse.core.runtime.compatibility.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1051)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:394)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:510)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1054)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:228)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:342)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:191)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:139)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException
at org.eclipse.core.internal.runtime.CompatibilityHelper.getPluginDescriptor(CompatibilityHelper.java:59)
at org.eclipse.core.internal.plugins.CompatibilityActivator.stop(CompatibilityActivator.java:28)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
... 8 more
Root exception:
java.lang.IllegalStateException
at org.eclipse.core.internal.runtime.CompatibilityHelper.getPluginDescriptor(CompatibilityHelper.java:59)
at org.eclipse.core.internal.plugins.CompatibilityActivator.stop(CompatibilityActivator.java:28)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$3.run(BundleContextImpl.java:1035)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.stop(BundleContextImpl.java:1031)
at org.eclipse.osgi.framework.internal.core.BundleHost.stopWorker(BundleHost.java:394)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.suspend(AbstractBundle.java:510)
at org.eclipse.osgi.framework.internal.core.Framework.suspendBundle(Framework.java:1054)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.suspendBundle(PackageAdminImpl.java:228)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.processDelta(PackageAdminImpl.java:342)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:191)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:139)
at java.lang.Thread.run(Thread.java:595)

!ENTRY initial@reference:file:plugins/org.eclipse.update.configurator_3.1.0.jar/ 0 0 2005-12-16 21:15:57.790
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.update.internal.configurator.ConfigurationActivator.start() of bundle org.eclipse.update.configurator.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.resumeBundles(PackageAdminImpl.java:222)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:196)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:139)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.Exception: Das Konfigurationsprogramm für die Aktualisierung kann nicht initialisiert werden.
at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
... 8 more
Root exception:
java.lang.Exception: Das Konfigurationsprogramm für die Aktualisierung kann nicht initialisiert werden.
at org.eclipse.update.internal.configurator.ConfigurationActivator.initialize(ConfigurationActivator.java:89)
at org.eclipse.update.internal.configurator.ConfigurationActivator.start(ConfigurationActivator.java:67)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.resumeBundles(PackageAdminImpl.java:222)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:196)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:139)
at java.lang.Thread.run(Thread.java:595)

!ENTRY update@plugins/org.eclipse.core.runtime.compatibility_3.1.0.jar 0 0 2005-12-16 21:15:57.794
!MESSAGE FrameworkEvent.ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.core.internal.plugins.CompatibilityActivator.start() of bundle org.eclipse.core.runtime.compatibility.
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:1013)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.resumeBundles(PackageAdminImpl.java:222)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:196)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:139)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException
at org.eclipse.core.internal.runtime.CompatibilityHelper.getPluginDescriptor(CompatibilityHelper.java:59)
at org.eclipse.core.internal.plugins.CompatibilityActivator.start(CompatibilityActivator.java:22)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
... 8 more
Root exception:
java.lang.IllegalStateException
at org.eclipse.core.internal.runtime.CompatibilityHelper.getPluginDescriptor(CompatibilityHelper.java:59)
at org.eclipse.core.internal.plugins.CompatibilityActivator.start(CompatibilityActivator.java:22)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:994)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:988)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:969)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:313)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.resume(AbstractBundle.java:337)
at org.eclipse.osgi.framework.internal.core.Framework.resumeBundle(Framework.java:1024)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.resumeBundles(PackageAdminImpl.java:222)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl.doResolveBundles(PackageAdminImpl.java:196)
at org.eclipse.osgi.framework.internal.core.PackageAdminImpl$1.run(PackageAdminImpl.java:139)
at java.lang.Thread.run(Thread.java:595)

!ENTRY org.eclipse.osgi 2005-12-16 21:15:58.209
!MESSAGE Startup error
!STACK 1
java.lang.IllegalStateException: Bundle initial@reference:file:plugins/org.eclipse.update.configurator_3.1.0.jar/ [2] is not active.
at org.eclipse.core.runtime.adaptor.EclipseStarter.ensureBundlesActive(EclipseStarter.java:410)
at org.eclipse.core.runtime.adaptor.EclipseStarter.startup(EclipseStarter.java:297)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:159)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334)
at org.eclipse.core.launcher.Main.basicRun(Main.java:278)
at org.eclipse.core.launcher.Main.run(Main.java:973)
at org.eclipse.core.launcher.Main.main(Main.java:948)

aber ich finde ja nur komisch, das es über den konqueror funktioniert und wenn iich eine verknüpfung anlege es dann plötzlich nicht geht
 
hab es jetzt hinbekommen. hatte eine version von eclipse über apt installiert und die hat sich linux irgendwie gemerkt. das war die version 3.1.0 und ich habe mir ja die 3.1.1 von der eclipse homepage runtergelade. jetzt hab ich über apt die eclipse 3.1.0 deinstalliert und siehe da jetzt funktioniert auch meine verknüpfung. trotzdem danke euch für die hilfe
 
Oben