Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Running SWT example
Running SWT example [message #65672] Wed, 18 May 2005 04:53 Go to next message
Eclipse UserFriend
Originally posted by: bgates.microsoft.com

I get the following error when trying to run a SWT demo application.

java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path


The path does actually contain a swt-win32-3064.dll
Does someone know what setting needs to be changed ?


Thank you.

PS I recommend phpBBS for this forum.



Penguinman.
Re: Running SWT example [message #65721 is a reply to message #65672] Wed, 18 May 2005 07:53 Go to previous message
Michael Scharf is currently offline Michael ScharfFriend
Messages: 301
Registered: July 2009
Senior Member
Hi Penguinman

> I get the following error when trying to run a SWT demo application.
>
> java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
>
>
> The path does actually contain a swt-win32-3064.dll
> Does someone know what setting needs to be changed ?

If you are running the SWT application from within eclipse add the following to VMArgs
(in the Run->Run.... dialog)

-Djava.library.path=${workspace_loc}/org.eclipse.swt.${syste m:OS}/os/${system:OS}/${system:ARCH}

Make sure you have importet org.eclipse.swt.win32 into your workspace (as binary
or source project).



Michael
Previous Topic:Dependency issue
Next Topic:Keyboard shortcut for "run ant build"
Goto Forum:
  


Current Time: Sat Nov 09 05:49:58 GMT 2024

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

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

Back to the top