UnsatisfiedLinkError in "Welcome" cheatsheet Standalone SWT app [message #446168] |
Thu, 18 November 2004 18:58 |
Eclipse User |
|
|
|
Originally posted by: news.lawshouse.org
Eclipse 3.0.0 under Windows XP.
I have (as far as I can see) followed the instructions in the cheat
sheet for "Standalone SWT Application" but I have the following error on
running it:
java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
I have coded
-Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH}
in the "arguments" box (and various other variants of it including hard
path names), and verified that
C:\USR\eclipse\plugins\org.eclipse.swt.win32_3.0.0\os\win32\ x86\swt-win32-3062.dll
does actually exist in my system.
I've also Googled for the error and found only the advice to put in the
-D parameter, which I have already.
Can someone suggest somewhere else I might look for an error?
|
|
|
|
Re: UnsatisfiedLinkError in "Welcome" cheatsheet Standalone SWT app [message #446228 is a reply to message #446168] |
Sat, 20 November 2004 20:38 |
Eclipse User |
|
|
|
Originally posted by: news.lawshouse.org
Henry Law wrote:
> I have coded
>
> -Djava.library.path=${system:ECLIPSE_HOME}/plugins/org.eclip se.swt.${system:WS}_3.0.0/os/${system:OS}/${system:ARCH}
.... but I'd coded it in the wrong place. When I put it in "VM
arguments" rather than "application arguments" everything worked fine.
|
|
|
Powered by
FUDForum. Page generated in 0.03248 seconds