• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

UnsatisfiedLinkError with SWT

 
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a java application with SWT on eclipse 3.0. I can get the program compiled but when I run the application I get "java.lang.UnsatisfiedLinkError: no swt-win32-3034 in java.library.path"
I have the swt.jar set in the build path of the project.
project -> properties -> Java Build path -> libraries ->swt.jar
still why the application is not able to run?
Thanks,
Padma.
 
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Make sure you add the VM arguments similar to:
-Djava.library.path=C:/eclipse212/plugins/org.eclipse.swt.win32_2.1.2/os/win32/x86
The above is the path to dll.
http://dev.eclipse.org/viewcvs/index.cgi/~checkout~/platform-swt-home/snippits/instructions.html
Hope that helps.
Raj

Originally posted by N Padma:
I have a java application with SWT on eclipse 3.0. I can get the program compiled but when I run the application I get "java.lang.UnsatisfiedLinkError: no swt-win32-3034 in java.library.path"
I have the swt.jar set in the build path of the project.
project -> properties -> Java Build path -> libraries ->swt.jar
still why the application is not able to run?
Thanks,
Padma.

 
Space pants. Tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic