Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Problem with standalone swt application, OSX
Problem with standalone swt application, OSX [message #438657] Tue, 29 June 2004 10:23 Go to next message
Jan Dieckmann is currently offline Jan DieckmannFriend
Messages: 7
Registered: July 2009
Junior Member
I try the tutorial "build a standalone swt application". I get the error

Exception in thread "main" java.lang.UnsatisfiedLinkError: no
swt-pi-carbon-3062 in java.library.path

when I run the main method. I have added the external jars

swt.jar
swt-pi.jar

Who can help me out?

best regards Jan

OS: Mac OS X 10.3.4
Eclipse: 3.0.0
Re: Problem with standalone swt application, OSX [message #438661 is a reply to message #438657] Tue, 29 June 2004 12:27 Go to previous messageGo to next message
Jan Dieckmann is currently offline Jan DieckmannFriend
Messages: 7
Registered: July 2009
Junior Member
After I set the VM arguments to

-Djava.library.path=/Applications/eclipse/plugins/org.eclips e.swt.carbon_3.0.0/os/macosx/ppc/

everything


everything was OK.

regards Jan
Re: Problem with standalone swt application, OSX [message #438810 is a reply to message #438661] Thu, 01 July 2004 23:19 Go to previous message
Ken is currently offline KenFriend
Messages: 8
Registered: July 2009
Junior Member
apologies however i am trying to get this to do a very simialr thing.
where on the line did you put this? i have tried it directly after java
i.e.

java -Djava.library.path=.

to at the end.

can you post your line?

thanks,
ken;
Jan Dieckmann wrote:

> After I set the VM arguments to

>
-Djava.library.path=/Applications/eclipse/plugins/org.eclips e.swt.carbon_3.0.0/os/macosx/ppc/

> everything


> everything was OK.

> regards Jan
Previous Topic:java.lang.NoClassDefFoundError: org/eclipse/swt/internal/Library in OSX swt.jar
Next Topic:Installing swt 3.0
Goto Forum:
  


Current Time: Fri Apr 26 04:25:29 GMT 2024

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

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

Back to the top