Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Running RCP on MacOS Leopard
Running RCP on MacOS Leopard [message #242893] Wed, 12 December 2007 15:24 Go to next message
Eclipse UserFriend
Originally posted by: "jakub,jurkiewicz".gmail.com

Hi,

I have just switched from Windows to Mac and faced a problem with
running my RCP application from Eclipse (as Eclipse application). I've
got the same configuration as on Windows, where everything was just fine.
I've got Eclipse 3.3.1.1 and MacOS Leopard.
When I run my application I get the following error:

java.lang.UnsatisfiedLinkError: no swt-carbon-3347 or swt-carbon in
swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:21 9)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:15 1)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Display.createDisplay(Display.java:9 45)
at org.eclipse.swt.widgets.Display.create(Display.java:939)
at org.eclipse.swt.graphics.Device.<init>(Device.java:119)
at org.eclipse.swt.widgets.Display.<init>(Display.java:749)
at org.eclipse.swt.widgets.Display.<init>(Display.java:740)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.ja va:498)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:161)
at
org.eclipse.ui.internal.ide.application.IDEApplication.creat eDisplay(IDEApplication.java:133)
at
org.eclipse.ui.internal.ide.application.IDEApplication.start (IDEApplication.java:86)
at
org.eclipse.equinox.internal.app.EclipseAppHandle.run(Eclips eAppHandle.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(EclipseS tarter.java:363)
at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseS tarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcce ssorImpl.java:39)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMe thodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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)

Any idea what I should do to make it run?
Thanks in advance for your help :)

kind regards,
Jakub Jurkiewicz
http://eclipser-blog.blogspot.com
Re: Running RCP on MacOS Leopard [message #243006 is a reply to message #242893] Thu, 13 December 2007 14:27 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Jakub Jurkiewicz wrote:
> Hi,
>
> I have just switched from Windows to Mac and faced a problem with
> running my RCP application from Eclipse (as Eclipse application). I've
> got the same configuration as on Windows, where everything was just fine.
> I've got Eclipse 3.3.1.1 and MacOS Leopard.
> When I run my application I get the following error:
>
> java.lang.UnsatisfiedLinkError: no swt-carbon-3347 or swt-carbon in
> swt.library.path, java.library.path or the jar file

Check the launch configuration you're using to run the app; make sure
that the swt-carbon plugin(s) is included in the list of plugins.

Hope this helps,
Eric
Re: Running RCP on MacOS Leopard [message #245253 is a reply to message #243006] Fri, 11 January 2008 10:28 Go to previous message
Eclipse UserFriend
Originally posted by: svo.ciklum.net

Hi,

I faced exactly the same problem. It really looks like
org.eclipse.swt.carbon.macosx plugin is not in the list of dependencies
of our project, and, of course, it is not present in the runtime
classpath. But I couldn't add it manually neither. Can you help?

Thanks in advance,
Stanislav

Eric Rizzo wrote:
> Jakub Jurkiewicz wrote:
>> Hi,
>>
>> I have just switched from Windows to Mac and faced a problem with
>> running my RCP application from Eclipse (as Eclipse application). I've
>> got the same configuration as on Windows, where everything was just fine.
>> I've got Eclipse 3.3.1.1 and MacOS Leopard.
>> When I run my application I get the following error:
>>
>> java.lang.UnsatisfiedLinkError: no swt-carbon-3347 or swt-carbon in
>> swt.library.path, java.library.path or the jar file
>
> Check the launch configuration you're using to run the app; make sure
> that the swt-carbon plugin(s) is included in the list of plugins.
>
> Hope this helps,
> Eric
Previous Topic:eclipse line wrapping problems
Next Topic:project specific target platform
Goto Forum:
  


Current Time: Thu Nov 14 11:16:38 GMT 2024

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

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

Back to the top