Win a copy of Getting started with Java on the Raspberry Pi this week in the Raspberry Pi forum!
  • 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Jeanne Boyarsky
Sheriffs:
  • Rob Spoor
  • Devaka Cooray
  • Liutauras Vilda
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Tim Moores
  • Mikalai Zaikin
Bartenders:
  • Piet Souris

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.

 
Hey cool! They got a blimp! But I have a tiny ad:
Low Tech Laboratory
https://www.kickstarter.com/projects/paulwheaton/low-tech-0
reply
    Bookmark Topic Watch Topic
  • New Topic