Using JNI and still get the UnsatisfiedLinkError after I export LD_LIBRARY_PATH

I was trying to learn the JNI with Rust and refer to this: jni - Rust
I did everything according to the documentation, but still get the UnsatisfiedLinkError.
I also export the LD_LIBRARY_PATH according to the last step and it can be shown:

But still, I got the same UnsatisfiedLinkError. What can I do??

Thanks in advance

In CI I use java command line argument -Djava.library.path=

This topic was automatically closed 90 days after the last reply. We invite you to open a new topic if you have further questions or comments.