Skip to main content



      Home
Home » Archived » Visual Editor (VE) » VE and SWT
VE and SWT [message #59354] Fri, 10 September 2004 09:31 Go to next message
Eclipse UserFriend
Hello there..

Just installed E3 and VE1 latest builds..

When I try to create an SWT application and fire it up, I receive these
messages below. What can I do?

Thanks,
Henrik


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

at java.lang.ClassLoader.loadLibrary(Unknown Source)

at java.lang.Runtime.loadLibrary0(Unknown Source)

at java.lang.System.loadLibrary(Unknown Source)

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 org.eclipse.swt.widgets.Display.getDefault(Display.java:993)

at myApp.main(myApp.java:26)

Exception in thread "main"
Re: VE and SWT [message #59404 is a reply to message #59354] Fri, 10 September 2004 12:24 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: myersj.nospam.gmail.com

Hi Henrik,

You need to add the path to the SWT dll to your java.library path in
order to run SWT code. See:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone

When you're using the VE to develop SWT code, you should use the Run
As->Java Bean function. This will handle the setup of the SWT library
paths for you automatically.

- Jeff

Henrik Skovgaard wrote:
> Hello there..
>
> Just installed E3 and VE1 latest builds..
>
> When I try to create an SWT application and fire it up, I receive these
> messages below. What can I do?
>
> Thanks,
> Henrik
>
>
> java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
>
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
>
> at java.lang.Runtime.loadLibrary0(Unknown Source)
>
> at java.lang.System.loadLibrary(Unknown Source)
>
> 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 org.eclipse.swt.widgets.Display.getDefault(Display.java:993)
>
> at myApp.main(myApp.java:26)
>
> Exception in thread "main"
>
>
Re: VE and SWT [message #59625 is a reply to message #59404] Mon, 13 September 2004 02:47 Go to previous message
Eclipse UserFriend
"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
news:chsk8q$7nt$1@eclipse.org...
> Hi Henrik,
>
> You need to add the path to the SWT dll to your java.library path in order
> to run SWT code. See:
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone

Thanks Jeff, that helped me out :-)

/Henrik
Re: VE and SWT [message #598314 is a reply to message #59354] Fri, 10 September 2004 12:24 Go to previous message
Eclipse UserFriend
Hi Henrik,

You need to add the path to the SWT dll to your java.library path in
order to run SWT code. See:
http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone

When you're using the VE to develop SWT code, you should use the Run
As->Java Bean function. This will handle the setup of the SWT library
paths for you automatically.

- Jeff

Henrik Skovgaard wrote:
> Hello there..
>
> Just installed E3 and VE1 latest builds..
>
> When I try to create an SWT application and fire it up, I receive these
> messages below. What can I do?
>
> Thanks,
> Henrik
>
>
> java.lang.UnsatisfiedLinkError: no swt-win32-3062 in java.library.path
>
> at java.lang.ClassLoader.loadLibrary(Unknown Source)
>
> at java.lang.Runtime.loadLibrary0(Unknown Source)
>
> at java.lang.System.loadLibrary(Unknown Source)
>
> 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 org.eclipse.swt.widgets.Display.getDefault(Display.java:993)
>
> at myApp.main(myApp.java:26)
>
> Exception in thread "main"
>
>
Re: VE and SWT [message #598378 is a reply to message #59404] Mon, 13 September 2004 02:47 Go to previous message
Eclipse UserFriend
"Jeff Myers" <myersj@nospam.gmail.com> wrote in message
news:chsk8q$7nt$1@eclipse.org...
> Hi Henrik,
>
> You need to add the path to the SWT dll to your java.library path in order
> to run SWT code. See:
> http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/plat form-swt-home/faq.html#standalone

Thanks Jeff, that helped me out :-)

/Henrik
Previous Topic:Background of JPanel
Next Topic:Background of JPanel
Goto Forum:
  


Current Time: Wed Jun 04 23:15:16 EDT 2025

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

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

Back to the top