I have an SWT application in which I have added SWT related dependency in pom.xml and then built it as maven project to download them and when I run it in eclipse IDE, then it runs and all the screens are launching.
But when I take the jar and try to run it via command line, it gives UnsatisfiedlinkError.
Detail stack trace is given below.
Exception in thread "main" java.lang.UnsatisfiedLinkError: no swt-win32-3346 or
swt-win32 in swt.library.path, java.library.path or the jar file
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:219)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:151)
at org.eclipse.swt.internal.C.<clinit>(C.java:21)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:126)
Any help regarding this will be hugely appreciated.