my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes UnsatisfiedLinkError with SWT Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "UnsatisfiedLinkError with SWT" Watch "UnsatisfiedLinkError with SWT" New topic
Author

UnsatisfiedLinkError with SWT

Padma Prasad
Ranch Hand

Joined: Sep 16, 2002
Posts: 76
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

Joined: Oct 10, 2001
Posts: 71
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.
 
Consider Paul's rocket mass heater.
 
subject: UnsatisfiedLinkError with SWT
 
Similar Threads
Executable Jar
Eclipse 3.2.2 config for SWT / JFace
SWT on any other IDE?
Resource /org.eclipse.swt is not open
I can compile SWT out of eclipse but not in Eclipse :)