Ok, so I'm having some trouble getting a jnilib to load in mac osx, I've tried many different ways and the result is always an unsatisfied link error. I've done jni before getting it to work with both linux/windows(xp/vista) and had no/few problems, but for some reason I'm having a hell of a time with mac osx.
I've tried using
System.load("/System/Library/Java/Extentions/libskype.jnilib");
(Yes the libskype.jnilib is actually in the folder, I just re-checked)
I've also tried using
System.loadLibrary("libskype");
System.loadLibrary("libskype.jnilib");
I printed out System.getProperty("java.library.path") and the libskype.jnilib was on the path,
I also tried starting the program with -Djava.libary.path="(path_to_libskype.jnilib)"
but that didn't help.
Anyone have any suggestions?
Could the libskype.jnilib file be corrupt/broken? Would the jvm give me a different error message if it was corrupt?
Thanks a ton!