I'm running a java application by this command :
java -cp < FileName> < package name>
however, it shows
A JNI error has occurred...
Exception ... NoClassDefFoundError: ...
I've surveyed the post Adding external library to artifact jar in IntelliJ IDEA but still not sure how to solve it.
Here is my Project Structure page, but have no clue to extract the dependencies into the artifact.
What should I do to fix this?