Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » error while starting Eclipse as runtime-workbench
error while starting Eclipse as runtime-workbench [message #257241] Wed, 30 June 2004 16:21 Go to next message
Eclipse UserFriend
Originally posted by: franz.hoyer.franzhoyer.de

When I try to launch Eclipse inside Eclipse for a debug session I get the
following error:

I try to run it on a windows xp machine.


!SESSION Jun 30, 2004
22:16:34.234 ---------------------------------------------
eclipse.buildId=unknown
java.version=1.4.2_03
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Command-line arguments: -application org.eclipse.ui.ide.workbench

!ENTRY org.eclipse.osgi Jun 30, 2004 22:16:34.250
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in java.library.path
at java.lang.ClassLoader.loadLibrary(Unknown Source)
at java.lang.Runtime.loadLibrary0(Unknown Source)
at java.lang.System.loadLibrary(Unknown Source)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.graphics.Device.init(Device.java:564)
at org.eclipse.swt.widgets.Display.init(Display.java:1780)
at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:278)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:153)
at
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java
:122)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:72)
at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
java:335)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
at org.eclipse.core.launcher.Main.run(Main.java:644)
at org.eclipse.core.launcher.Main.main(Main.java:628)
Re: error while starting Eclipse as runtime-workbench [message #257250 is a reply to message #257241] Wed, 30 June 2004 17:21 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pascal.ibm.canada

It looks like you do not have the correct version of swt.jar since you
are on a XP platform, but the library being loaded is "carbon" (macos).
Make sure that you have the proper version of SWT.

PaScaL

Franz Hoyer wrote:
> When I try to launch Eclipse inside Eclipse for a debug session I get the
> following error:
>
> I try to run it on a windows xp machine.
>
>
> !SESSION Jun 30, 2004
> 22:16:34.234 ---------------------------------------------
> eclipse.buildId=unknown
> java.version=1.4.2_03
> java.vendor=Sun Microsystems Inc.
> BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> Command-line arguments: -application org.eclipse.ui.ide.workbench
>
> !ENTRY org.eclipse.osgi Jun 30, 2004 22:16:34.250
> !MESSAGE Application error
> !STACK 1
> java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in java.library.path
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
> at java.lang.Runtime.loadLibrary0(Unknown Source)
> at java.lang.System.loadLibrary(Unknown Source)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
> at org.eclipse.swt.graphics.Device.init(Device.java:564)
> at org.eclipse.swt.widgets.Display.init(Display.java:1780)
> at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
> at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:278)
> at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:153)
> at
> org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java
> :122)
> at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:72)
> at
> org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> java:335)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> at
> org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> at java.lang.reflect.Method.invoke(Unknown Source)
> at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
> at org.eclipse.core.launcher.Main.run(Main.java:644)
> at org.eclipse.core.launcher.Main.main(Main.java:628)
>
>
Re: error while starting Eclipse as runtime-workbench [message #257261 is a reply to message #257250] Wed, 30 June 2004 17:48 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: franz.hoyer.franzhoyer.de

well I have all different kinds of swt.jar for all different platforms. How
can i tell eclipse to use the one for win32 ? I thought the startup
parameter points eclipse to the right swt ?

I start with -os win32 -ws win32 -arch x86 -nl de_DE

where or how can i tell eclipse to load the one for win32 and not the carbon
?

"Pascal Rapicault" <pascal@ibm.canada> schrieb im Newsbeitrag
news:cbvarj$trq$1@eclipse.org...
> It looks like you do not have the correct version of swt.jar since you
> are on a XP platform, but the library being loaded is "carbon" (macos).
> Make sure that you have the proper version of SWT.
>
> PaScaL
>
> Franz Hoyer wrote:
> > When I try to launch Eclipse inside Eclipse for a debug session I get
the
> > following error:
> >
> > I try to run it on a windows xp machine.
> >
> >
> > !SESSION Jun 30, 2004
> > 22:16:34.234 ---------------------------------------------
> > eclipse.buildId=unknown
> > java.version=1.4.2_03
> > java.vendor=Sun Microsystems Inc.
> > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> > Command-line arguments: -application org.eclipse.ui.ide.workbench
> >
> > !ENTRY org.eclipse.osgi Jun 30, 2004 22:16:34.250
> > !MESSAGE Application error
> > !STACK 1
> > java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in java.library.path
> > at java.lang.ClassLoader.loadLibrary(Unknown Source)
> > at java.lang.Runtime.loadLibrary0(Unknown Source)
> > at java.lang.System.loadLibrary(Unknown Source)
> > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
> > at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
> > at org.eclipse.swt.graphics.Device.init(Device.java:564)
> > at org.eclipse.swt.widgets.Display.init(Display.java:1780)
> > at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
> > at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
> > at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
> > at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:278)
> > at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:153)
> > at
> >
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java
> > :122)
> > at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:72)
> > at
> >
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> > java:335)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> > at
> >
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > at java.lang.reflect.Method.invoke(Unknown Source)
> > at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
> > at org.eclipse.core.launcher.Main.run(Main.java:644)
> > at org.eclipse.core.launcher.Main.main(Main.java:628)
> >
> >
Re: error while starting Eclipse as runtime-workbench [message #257265 is a reply to message #257261] Wed, 30 June 2004 17:59 Go to previous message
Eclipse UserFriend
Originally posted by: franz.hoyer.franzhoyer.de

just found a way to solve it, I am not sure if it is the best way to do it
but it works.

I copied the right swt.jar (the one for win32) into the org.eclipse.swt.bin
directory. It seems that puts the swt.jar in the classpath and now eclipse
uses at startup that library.


"Franz Hoyer" <franz.hoyer@franzhoyer.de> schrieb im Newsbeitrag
news:cbvceb$1ga$1@eclipse.org...
> well I have all different kinds of swt.jar for all different platforms.
How
> can i tell eclipse to use the one for win32 ? I thought the startup
> parameter points eclipse to the right swt ?
>
> I start with -os win32 -ws win32 -arch x86 -nl de_DE
>
> where or how can i tell eclipse to load the one for win32 and not the
carbon
> ?
>
> "Pascal Rapicault" <pascal@ibm.canada> schrieb im Newsbeitrag
> news:cbvarj$trq$1@eclipse.org...
> > It looks like you do not have the correct version of swt.jar since you
> > are on a XP platform, but the library being loaded is "carbon" (macos).
> > Make sure that you have the proper version of SWT.
> >
> > PaScaL
> >
> > Franz Hoyer wrote:
> > > When I try to launch Eclipse inside Eclipse for a debug session I get
> the
> > > following error:
> > >
> > > I try to run it on a windows xp machine.
> > >
> > >
> > > !SESSION Jun 30, 2004
> > > 22:16:34.234 ---------------------------------------------
> > > eclipse.buildId=unknown
> > > java.version=1.4.2_03
> > > java.vendor=Sun Microsystems Inc.
> > > BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
> > > Command-line arguments: -application org.eclipse.ui.ide.workbench
> > >
> > > !ENTRY org.eclipse.osgi Jun 30, 2004 22:16:34.250
> > > !MESSAGE Application error
> > > !STACK 1
> > > java.lang.UnsatisfiedLinkError: no swt-carbon-3062 in
java.library.path
> > > at java.lang.ClassLoader.loadLibrary(Unknown Source)
> > > at java.lang.Runtime.loadLibrary0(Unknown Source)
> > > at java.lang.System.loadLibrary(Unknown Source)
> > > at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
> > > at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
> > > at org.eclipse.swt.graphics.Device.init(Device.java:564)
> > > at org.eclipse.swt.widgets.Display.init(Display.java:1780)
> > > at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
> > > at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
> > > at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
> > > at
org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:278)
> > > at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:153)
> > > at
> > >
>
org.eclipse.ui.internal.ide.IDEApplication.createDisplay(IDE Application.java
> > > :122)
> > > at
> org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplicatio n.java:72)
> > > at
> > >
>
org.eclipse.core.internal.runtime.PlatformActivator$1.run(Pl atformActivator.
> > > java:335)
> > > at
> > >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:273)
> > > at
> > >
>
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:129)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> > > at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
> > > at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
> > > at java.lang.reflect.Method.invoke(Unknown Source)
> > > at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
> > > at org.eclipse.core.launcher.Main.run(Main.java:644)
> > > at org.eclipse.core.launcher.Main.main(Main.java:628)
> > >
> > >
>
>
Previous Topic:Startup speed for RCP apps versus stand-alone JFace
Next Topic:which api is usefull for retriving the the project details from with the plugin?
Goto Forum:
  


Current Time: Mon May 12 05:01:18 EDT 2025

Powered by FUDForum. Page generated in 0.03621 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top