[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Launch Eclipse using Equinox

Title: Launch Eclipse using Equinox
Hi,

Is it possible that you're missing swt fragment? It should be something like plugins/org.eclipse.swt.win32.win32.x86-version
I have tried this to start Eclipse:
java -cp plugins/org.eclipse.equinox.launcher_1.0.100.v20071029.jar org.eclipse.equinox.launcher.Main

If that won't help:
Did you get Eclipse from www.eclipse.org?
What exactly did you tried to start Eclipse?
Does Eclipse start correctly when you use eclipse.exe?

William.Fulton@xxxxxxx wrote:

The instructions on the wiki to launch Eclipse using Equinox are not working for me for Eclipse Europa:
http://wiki.eclipse.org/Starting_Eclipse_Commandline_With_Equinox_Launcher. I've tried this on a couple of Windows XP SP2 boxes. Are these instructions up to date? The exceptions that appear in the Eclipse log are shown below:


!SESSION 2007-12-27 16:00:58.733 -----------------------------------------------
eclipse.buildId=I20070625-1500
java.version=1.5.0_07
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=gtk, NL=en_GB

!ENTRY org.eclipse.osgi 4 0 2007-12-27 16:01:02.280
!MESSAGE An error occurred while automatically activating bundle org.eclipse.ui.workbench (313).
!STACK 0
org.osgi.framework.BundleException: The activator org.eclipse.ui.internal.WorkbenchPlugin for bundle org.eclipse.ui.workbench is invalid

ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:141)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
ÂÂÂÂÂÂÂ at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
ÂÂÂÂÂÂÂ 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(ClassLoader.java:251)
ÂÂÂÂÂÂÂ at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
ÂÂÂÂÂÂÂ at java.lang.Class.getDeclaredConstructors0(Native Method)
ÂÂÂÂÂÂÂ at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
ÂÂÂÂÂÂÂ at java.lang.Class.getConstructor0(Class.java:2640)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance0(Class.java:321)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance(Class.java:303)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)

ÂÂÂÂÂÂÂ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165)
ÂÂÂÂÂÂÂ 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 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.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)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
ÂÂÂÂÂÂÂ at java.lang.Class.getDeclaredConstructors0(Native Method)
ÂÂÂÂÂÂÂ at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
ÂÂÂÂÂÂÂ at java.lang.Class.getConstructor0(Class.java:2640)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance0(Class.java:321)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance(Class.java:303)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
ÂÂÂÂÂÂÂ ... 37 more
Root exception:
java.lang.NoClassDefFoundError: org/eclipse/swt/SWTError
ÂÂÂÂÂÂÂ at java.lang.Class.getDeclaredConstructors0(Native Method)
ÂÂÂÂÂÂÂ at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
ÂÂÂÂÂÂÂ at java.lang.Class.getConstructor0(Class.java:2640)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance0(Class.java:321)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance(Class.java:303)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:136)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:970)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
ÂÂÂÂÂÂÂ at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:111)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java:417)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoader.java:189)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:340)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackage.java:37)
ÂÂÂÂÂÂÂ at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java:405)
ÂÂÂÂÂÂÂ 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(ClassLoader.java:251)
ÂÂÂÂÂÂÂ at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
ÂÂÂÂÂÂÂ at java.lang.Class.getDeclaredConstructors0(Native Method)
ÂÂÂÂÂÂÂ at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
ÂÂÂÂÂÂÂ at java.lang.Class.getConstructor0(Class.java:2640)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance0(Class.java:321)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance(Class.java:303)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)

ÂÂÂÂÂÂÂ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165)
ÂÂÂÂÂÂÂ 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 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.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)

!ENTRY org.eclipse.osgi 4 0 2007-12-27 16:01:02.296
!MESSAGE Application error
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "org.eclipse.ui.ide.application" was unable to instantiate class "org.eclipse.ui.internal.ide.application.IDEApplication".

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:180)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:174)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)

ÂÂÂÂÂÂÂ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165)
ÂÂÂÂÂÂÂ 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 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.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)
org.eclipse.core.runtime.CoreException[1]: java.lang.NoClassDefFoundError: org/eclipse/ui/application/WorkbenchAdvisor
ÂÂÂÂÂÂÂ at java.lang.Class.getDeclaredConstructors0(Native Method)
ÂÂÂÂÂÂÂ at java.lang.Class.privateGetDeclaredConstructors(Class.java:2328)
ÂÂÂÂÂÂÂ at java.lang.Class.getConstructor0(Class.java:2640)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance0(Class.java:321)
ÂÂÂÂÂÂÂ at java.lang.Class.newInstance(Class.java:303)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:170)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:788)
ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)

ÂÂÂÂÂÂÂ at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:51)

ÂÂÂÂÂÂÂ at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:165)
ÂÂÂÂÂÂÂ 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 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.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)

!ENTRY org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE The following is a complete list of bundles which are not resolved, see the prior log entry for the root cause if it exists:

!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE Bundle update@plugins/org.eclipse.ui.win32_3.2.100.I20070319-0010.jar [162] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE Bundle update@plugins/de.walware.statet.r.launching.winrgui_0.4.0.b200710240830sw.jar [222] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE Bundle update@plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.2.R331_v20071019/ [268] was not resolved.

!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE Bundle update@plugins/org.eclipse.jdt.apt.pluggable.core_1.0.1.R33x_v20070831-0435.jar [276] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-12-27 16:01:02.749
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-12-27 16:01:02.749
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.dispatch_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-12-27 16:01:02.749
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.model_0.0.0.
!SUBENTRY 2 org.eclipse.jdt.apt.pluggable.core 2 0 2007-12-27 16:01:02.749
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.apt.util_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.apt_1.0.1.R33x_v20070831-0435.jar [278] was not resolved.
!SUBENTRY 2 org.eclipse.jdt.compiler.apt 2 0 2007-12-27 16:01:02.749
!MESSAGE Missing imported package org.eclipse.jdt.internal.compiler.tool_0.0.0.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE Bundle update@plugins/org.eclipse.jdt.compiler.tool_1.0.1.v_780_R33x.jar [279] was not resolved.
!SUBENTRY 1 org.eclipse.osgi 2 0 2007-12-27 16:01:02.749
!MESSAGE Bundle update@plugins/org.eclipse.swt.win32.win32.x86_3.3.2.v3347a.jar [298] was not resolved.

Any suggestions to get this working are much appreciated.

William


_______________________________________________ equinox-dev mailing list equinox-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/equinox-dev