I know, this is not the first library path problem, but I really don't know what the problem is.
I need a KernelWrapper
library for my project, and including it on Linux is no problem at all.
However, when I try to include it in Mac (over Terminal or directly in the IDE), I always get
Exception in thread "main" java.lang.UnsatisfiedLinkError: no KernelWrapper in java.library.path
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1867)
at java.lang.Runtime.loadLibrary0(Runtime.java:870)
at java.lang.System.loadLibrary(System.java:1122)
at cTools.KernelWrapper.<clinit>(KernelWrapper.java:6)
at shell.main(shell.java:18)
I printed out the library path using
System.out.println(System.getProperty("java.library.path"));
and it shows me that the path of the folder is correct and included. However, the KernelWrapper class somehow doesn't work properly. But it is the exact same folder which was included on Unix. What am I missing?