Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path [message #448660] Wed, 12 January 2005 21:49 Go to next message
Eclipse UserFriend
Originally posted by: sambraun.nospamgmx.net

Hello guys

I've a strange problem.

Today I've wanted to compile a swt sample.
First eclipse said that the imports org.eclipse.swt.widgets.Display,
org.eclipse.swt.widgets.Shell couldn't be found.
So I went Window->Preferences->Installed JREs->Selected the only entry and
added an external jar called swt.jar from my
C:\Programme\eclipse\plugins\org.eclipse.swt.win32_3.0.1\ws\ win32 directory.

Then I've tried it again but this error message occured:
java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
at org.eclipse.swt.graphics.Device.init(Device.java:564)
at org.eclipse.swt.widgets.Display.init(Display.java:1780)
at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
at core.AppDialog.<init>(AppDialog.java:30)
at core.Main.main(Main.java:17)
Exception in thread "main"

So I searched the net and found that I have to add the VM-Argument under
run...:
-Djava.library.path=C:\Programme\eclipse\plugins\org.eclipse .swt.win32_3.0.1\os\win32\x86

so I did this but the errors still occured. The path is correct because I
did a copy paste from the explorer.
Then I tried to copy this dll's in the C:\Windows\system32 but also then the
error still occurs.

Any ideas?

Thanks in advance
Sam
Re: java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path [message #448663 is a reply to message #448660] Wed, 12 January 2005 23:16 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nickthat.yahoo.com

The way I normally work is to have the PATH environment variable set to
pick up the SWT dll. e.g. in my case

PATH=C:\eclipse\plugins\org.eclipse.swt.win32_3.0.0\os\win32 \x86 ....etc

Make sure you restart Eclipse after you change the PATH.

Samuel Braun wrote:

> Hello guys

> I've a strange problem.

> Today I've wanted to compile a swt sample.
> First eclipse said that the imports org.eclipse.swt.widgets.Display,
> org.eclipse.swt.widgets.Shell couldn't be found.
> So I went Window->Preferences->Installed JREs->Selected the only entry and
> added an external jar called swt.jar from my
> C:Programmeeclipsepluginsorg.eclipse.swt.win32_3.0.1wswin32 directory.

> Then I've tried it again but this error message occured:
> java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
> at java.lang.Runtime.loadLibrary0(Runtime.java:788)
> at java.lang.System.loadLibrary(System.java:834)
> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
> at org.eclipse.swt.graphics.Device.init(Device.java:564)
> at org.eclipse.swt.widgets.Display.init(Display.java:1780)
> at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
> at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
> at core.AppDialog.<init>(AppDialog.java:30)
> at core.Main.main(Main.java:17)
> Exception in thread "main"

> So I searched the net and found that I have to add the VM-Argument under
> run...:
>
-Djava.library.path=C:Programmeeclipsepluginsorg.eclipse.swt .win32_3.0.1oswin32x86

> so I did this but the errors still occured. The path is correct because I
> did a copy paste from the explorer.
> Then I tried to copy this dll's in the C:Windowssystem32 but also then the
> error still occurs.

> Any ideas?

> Thanks in advance
> Sam
Re: java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path [message #448686 is a reply to message #448663] Thu, 13 January 2005 06:19 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: sambraun.nospamgmx.net

Hello Nick

Thanks for your answer

Doesn't work on my system. It's really strange...

Greetings

Samuel

"Nick Thatcher" <nickthat@yahoo.com> schrieb im Newsbeitrag
news:cs4b50$o4f$1@www.eclipse.org...
> The way I normally work is to have the PATH environment variable set to
> pick up the SWT dll. e.g. in my case
>
> PATH=C:\eclipse\plugins\org.eclipse.swt.win32_3.0.0\os\win32 \x86 ....etc
>
> Make sure you restart Eclipse after you change the PATH.
>
> Samuel Braun wrote:
>
>> Hello guys
>
>> I've a strange problem.
>
>> Today I've wanted to compile a swt sample.
>> First eclipse said that the imports org.eclipse.swt.widgets.Display,
>> org.eclipse.swt.widgets.Shell couldn't be found.
>> So I went Window->Preferences->Installed JREs->Selected the only entry
>> and added an external jar called swt.jar from my
>> C:Programmeeclipsepluginsorg.eclipse.swt.win32_3.0.1wswin32 directory.
>
>> Then I've tried it again but this error message occured:
>> java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
>> at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>> at java.lang.System.loadLibrary(System.java:834)
>> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
>> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
>> at org.eclipse.swt.graphics.Device.init(Device.java:564)
>> at org.eclipse.swt.widgets.Display.init(Display.java:1780)
>> at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
>> at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
>> at core.AppDialog.<init>(AppDialog.java:30)
>> at core.Main.main(Main.java:17)
>> Exception in thread "main"
>
>> So I searched the net and found that I have to add the VM-Argument under
>> run...:
>>
> -Djava.library.path=C:Programmeeclipsepluginsorg.eclipse.swt .win32_3.0.1oswin32x86
>
>> so I did this but the errors still occured. The path is correct because I
>> did a copy paste from the explorer.
>> Then I tried to copy this dll's in the C:Windowssystem32 but also then
>> the error still occurs.
>
>> Any ideas?
>
>> Thanks in advance
>> Sam
>
>
Solved: java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path [message #448698 is a reply to message #448686] Thu, 13 January 2005 14:32 Go to previous message
Eclipse UserFriend
Originally posted by: sambraun.nospamgmx.net

Hi guys

I found the solution myself :-)

The way I added the swt.jar was wrong, if I added it over
Project->Properties->Java Build Path->Libraries->Add Variable->Eclipse
Home->Extend, then I can give the VM-Argument mentioned in my previous
posts.

Greetings Sam

"Samuel Braun" <sambraun@nospamgmx.net> schrieb im Newsbeitrag
news:cs53to$6r9$1@www.eclipse.org...
> Hello Nick
>
> Thanks for your answer
>
> Doesn't work on my system. It's really strange...
>
> Greetings
>
> Samuel
>
> "Nick Thatcher" <nickthat@yahoo.com> schrieb im Newsbeitrag
> news:cs4b50$o4f$1@www.eclipse.org...
>> The way I normally work is to have the PATH environment variable set to
>> pick up the SWT dll. e.g. in my case
>>
>> PATH=C:\eclipse\plugins\org.eclipse.swt.win32_3.0.0\os\win32 \x86 ....etc
>>
>> Make sure you restart Eclipse after you change the PATH.
>>
>> Samuel Braun wrote:
>>
>>> Hello guys
>>
>>> I've a strange problem.
>>
>>> Today I've wanted to compile a swt sample.
>>> First eclipse said that the imports org.eclipse.swt.widgets.Display,
>>> org.eclipse.swt.widgets.Shell couldn't be found.
>>> So I went Window->Preferences->Installed JREs->Selected the only entry
>>> and added an external jar called swt.jar from my
>>> C:Programmeeclipsepluginsorg.eclipse.swt.win32_3.0.1wswin32 directory.
>>
>>> Then I've tried it again but this error message occured:
>>> java.lang.UnsatisfiedLinkError: no swt-win32-3063 in java.library.path
>>> at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1517)
>>> at java.lang.Runtime.loadLibrary0(Runtime.java:788)
>>> at java.lang.System.loadLibrary(System.java:834)
>>> at org.eclipse.swt.internal.Library.loadLibrary(Library.java:10 0)
>>> at org.eclipse.swt.internal.win32.OS.<clinit>(OS.java:18)
>>> at org.eclipse.swt.graphics.Device.init(Device.java:564)
>>> at org.eclipse.swt.widgets.Display.init(Display.java:1780)
>>> at org.eclipse.swt.graphics.Device.<init>(Device.java:100)
>>> at org.eclipse.swt.widgets.Display.<init>(Display.java:355)
>>> at org.eclipse.swt.widgets.Display.<init>(Display.java:351)
>>> at core.AppDialog.<init>(AppDialog.java:30)
>>> at core.Main.main(Main.java:17)
>>> Exception in thread "main"
>>
>>> So I searched the net and found that I have to add the VM-Argument under
>>> run...:
>>>
>> -Djava.library.path=C:Programmeeclipsepluginsorg.eclipse.swt .win32_3.0.1oswin32x86
>>
>>> so I did this but the errors still occured. The path is correct because
>>> I did a copy paste from the explorer.
>>> Then I tried to copy this dll's in the C:Windowssystem32 but also then
>>> the error still occurs.
>>
>>> Any ideas?
>>
>>> Thanks in advance
>>> Sam
>>
>>
>
>
Previous Topic:SWT Table margin
Next Topic:table accepting all control as cell item
Goto Forum:
  


Current Time: Fri Apr 19 10:16:17 GMT 2024

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

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

Back to the top