Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » UnsatisfiedLinkError in "Welcome" cheatsheet Standalone SWT app
UnsatisfiedLinkError in "Welcome" cheatsheet Standalone SWT app [message #446168] Thu, 18 November 2004 18:58 Go to next message
Eclipse UserFriend
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 #446195 is a reply to message #446168] Fri, 19 November 2004 22:09 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Henry,

At least one of the variables that you're referencing was not defined in the
3.0 release. You should either upgrade to a 3.1 stream build, or hardcode
your java.library.path value.

Grant

"Henry Law" <news@lawshouse.org> wrote in message
news:cnircu$ol6$1@www.eclipse.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.${syste
m: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-30
62.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 Go to previous message
Eclipse UserFriend
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.
Previous Topic:SwtFox 3.0beta3 released (FAST swt port)
Next Topic:is there any methods in swt like JComponent.processKeyEvent(KeyEvent e) ?
Goto Forum:
  


Current Time: Sat Apr 20 03:21:47 GMT 2024

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

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

Back to the top