• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UnsatisfiedLinkError with SWT

 
Padma Prasad
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • 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.
 
raj madhuram
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic