Hi I'm trying to write a JNI program and am trying to Load a Library located at
/lib/iptables/
on a linux debian machine using "
System.loadlibrary("libip6t_ah.so") "
1/
I get a
java.lang.UnsatisfiedLinkError: no libip6t_ah.so in java.library.path
2/
So then I tried to set
java.library.path
using the command
-Djava.library.path= /lib/iptables/
and I get as an answer
no such file or directory
So it seems like I am not doing the command right
3/ I tried to put the "libip6t_ah.so " file in the current "java.library.path" folder or also the folder were my Java JNI files are placed and I still get the "UnsatisfiedLinkError" message.
I spent 2 days trying to solve this problem, it might be a very simple problem, I'm a newbie in programming.
Please help me if you can, I'm completly blocked and can't do anything on my project because of that