• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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.

 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic