Skip to main content



      Home
Home » Newcomers » Newcomers » Eclipse and SWT on MacOS
Eclipse and SWT on MacOS [message #118261] Thu, 17 November 2005 06:03 Go to next message
Eclipse UserFriend
Originally posted by: reinecke.uni-koblenz.de

Hello all,

I'm trying to include SWT in the eclipse build-path under MacOS but get =
a =

"java.lang.UnsatisfiedLinkError: no swt-pi-carbon-3139 in =

java.library.path"- Error when trying to compile my SWT-project.
I addded both external jars org.eclipse.swt_3.1.0.jar and =

org.eclipse.swt.carbon.macosx.ppc_3.1.1.jar under Project Properties -> =
=

Libraries and wrote
-Djava.library.path=3D/Applications/eclipse/plugins/org.ecli pse.swt.carb=
on.macosx.ppc_3.1.1.jar;
in the VM Arguments. I remember including a .dll to the system32 when =

doing the same procedure under Windows so I wonder if there's a similar =
=

thing to do under MacOS?
I also read on the internet to include some .jnilib-File but this doesn'=
t =

seem to be included in my Eclipse folder.

Would be great if someone could give me a hint what I did wrong!
Thanx,
Katharina
Re: Eclipse and SWT on MacOS [message #118371 is a reply to message #118261] Thu, 17 November 2005 19:21 Go to previous message
Eclipse UserFriend
Originally posted by: bbiggs.ca.ibm.com

Katharina Reinecke wrote:
> Hello all,
>
> I'm trying to include SWT in the eclipse build-path under MacOS but get
> a "java.lang.UnsatisfiedLinkError: no swt-pi-carbon-3139 in
> java.library.path"- Error when trying to compile my SWT-project.
> I addded both external jars org.eclipse.swt_3.1.0.jar and
> org.eclipse.swt.carbon.macosx.ppc_3.1.1.jar under Project Properties ->
> Libraries and wrote
> -Djava.library.path=/Applications/eclipse/plugins/org.eclips e.swt.carbon.macosx.ppc_3.1.1.jar;

Giving a jar file to -Djava.library.path won't work, the jnilib
files are inside the .jar and must be extracted. Also, if you manually
add the .jar file and set the java.library.path, you won't get any
javadoc for the SWT API.

Follow this tutorial to get SWT in your workspace:

http://www.eclipse.org/swt/eclipse.php

Hope that helps,
-Billy
Previous Topic:Eclipse Ran REALLY Slow
Next Topic:Type mismatch error only under Eclipse 3.1.1 using jdk1.5.0_05
Goto Forum:
  


Current Time: Thu Jul 10 00:26:55 EDT 2025

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

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

Back to the top