java - SWT Unsatisfied link error in compiled JAR -
i'm working intellij thought trying create build artifact application has legacy swt components.
i've included compiled windows swt jar in class path of main application's jar. however, every time run , swt component needs loaded, next stack trace.
exception in thread "javafx application thread" java.lang.unsatisfiedlinkerror: no swt-gtk-3557 or swt-gtk in swt.library.path, java.library.path or jar file as far i've seen other answers, seem using swt jar linux know fact not case.
i've tried adding class path intellij , compiling in main jar.
any help appreciated , if anymore info required, allow me know , best provide it.
found issue.
the project had linux swt in 1 of other library folders taking precedence on windows one. 1 time removed that, worked perfectly.
java jar intellij-idea swt
No comments:
Post a Comment