Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » UnsatisfiedLinkError
UnsatisfiedLinkError [message #447414] Tue, 14 December 2004 16:02 Go to next message
Luc Rochefort is currently offline Luc RochefortFriend
Messages: 8
Registered: July 2009
Junior Member
Hello!

Guess what? I'm having sooooooo much fun with this little message in the
console:

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

Before you start hitting me with a baseball bat for posting such a newbie
question, let me just say that:

YES, I have the swt.jar on my build path;
YES, I put "-Djava.library.path={path to the SWT DLLs};
YES, the application I was developing was WORKING JUST FINE, and now, for
an obscure reason, I have this sweeeeeeet little message in the console;
YES, I'm using Eclipse Platform
Version: 3.0.1
Build id: 200409161125

O.K. now, enlighten me please, it's kind of driving me crazy (and believe
me, I'm close enough to the edge already...)

Thanks again folks,

Rushman
UnsatisfiedLinkError Aaaaargh! [message #447415 is a reply to message #447414] Tue, 14 December 2004 16:13 Go to previous messageGo to next message
Luc Rochefort is currently offline Luc RochefortFriend
Messages: 8
Registered: July 2009
Junior Member
"Rushman" <rochefort@irosoft.com> wrote in message
news:cpn2r2$r8l$1@www.eclipse.org...
> Hello!
>
> Guess what? I'm having sooooooo much fun with this little message in the
> console:
>
> java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
> bla...
> bla...
> bla...
>
> Before you start hitting me with a baseball bat for posting such a newbie
> question, let me just say that:
> YES, I have the swt.jar on my build path;
> YES, I put "-Djava.library.path={path to the SWT DLLs};
> YES, the application I was developing was WORKING JUST FINE, and now, for
> an obscure reason, I have this sweeeeeeet little message in the console;
> YES, I'm using Eclipse Platform Version: 3.0.1
> Build id: 200409161125
>
> O.K. now, enlighten me please, it's kind of driving me crazy (and believe
> me, I'm close enough to the edge already...)
>
> Thanks again folks,
>
> Rushman
>
Re: UnsatisfiedLinkError Aaaaargh! [message #447421 is a reply to message #447415] Tue, 14 December 2004 19:24 Go to previous messageGo to next message
Mani Ghamari is currently offline Mani GhamariFriend
Messages: 33
Registered: July 2009
Member
The VM is apparently unable to find the right dll (swt-win32-3063.dll).
The only possible reason I can think of is a bad syntax or a wrong path in
your "{path to the SWT DLLs};"
You can also try copying the dll to your application folder or to
Windows\system32.

Can you post the complete command that you use to start the application?

regards,

Mani

"Rushman" <rochefort@irosoft.com> wrote in message
news:cpn3ga$tgk$1@www.eclipse.org...
>
> "Rushman" <rochefort@irosoft.com> wrote in message
> news:cpn2r2$r8l$1@www.eclipse.org...
>> Hello!
>>
>> Guess what? I'm having sooooooo much fun with this little message in the
>> console:
>>
>> java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
>> bla...
>> bla...
>> bla...
>>
>> Before you start hitting me with a baseball bat for posting such a newbie
>> question, let me just say that:
>> YES, I have the swt.jar on my build path;
>> YES, I put "-Djava.library.path={path to the SWT DLLs};
>> YES, the application I was developing was WORKING JUST FINE, and now, for
>> an obscure reason, I have this sweeeeeeet little message in the console;
>> YES, I'm using Eclipse Platform Version: 3.0.1
>> Build id: 200409161125
>>
>> O.K. now, enlighten me please, it's kind of driving me crazy (and believe
>> me, I'm close enough to the edge already...)
>>
>> Thanks again folks,
>>
>> Rushman
>>
>
>
Re: UnsatisfiedLinkError Aaaaargh! [message #447647 is a reply to message #447421] Wed, 15 December 2004 21:24 Go to previous message
Marcelo Fernandez is currently offline Marcelo FernandezFriend
Messages: 10
Registered: July 2009
Junior Member
Mani Ghamari wrote:

> The VM is apparently unable to find the right dll (swt-win32-3063.dll).
> The only possible reason I can think of is a bad syntax or a wrong path in
> your "{path to the SWT DLLs};"
> You can also try copying the dll to your application folder or to
> Windows\system32.
>
> Can you post the complete command that you use to start the application?
>
> regards,
>
>> "Rushman" <rochefort@irosoft.com> wrote in message
>> news:cpn2r2$r8l$1@www.eclipse.org...
>>> Hello!
>>>
>>> Guess what? I'm having sooooooo much fun with this little message in the
>>> console:
>>>
>>> java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
>>> bla...
>>> bla...
>>> bla...
>>>
>>> Before you start hitting me with a baseball bat for posting such a
>>> newbie question, let me just say that:
>>> YES, I have the swt.jar on my build path;
>>> YES, I put "-Djava.library.path={path to the SWT DLLs};
>>> YES, the application I was developing was WORKING JUST FINE, and now,
>>> for an obscure reason, I have this sweeeeeeet little message in the
>>> console; YES, I'm using Eclipse Platform Version: 3.0.1
>>> Build id: 200409161125
>>>

I had the same problem, and it was because swt.jar and -Djava.library.path
pointed to different swt directories (I have two swt installations, the
eclipse's and another "alone" in my home dir).

For example, -Djava.library.path=/home/marcelo/swt and the swt.jar in the
classpath was at /home/marcelo/eclipse/plugins/..../swt/

If you change the build path to "/home/marcelo/swt/swt.jar" (where
-Djava.library.path is configured) maybe should resolve it.

Cheers!
Marcelo
Previous Topic:Open an file when clicking a TableTreeViewer
Next Topic:Purpose of Display.setAppName
Goto Forum:
  


Current Time: Sat Oct 24 08:39:43 GMT 2020

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

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

Back to the top