Background
So I am attempting to load a jnilib (specifically JOGL) into Java on Mac OS X at runtime. I have been following along the relevant Stack
You don't have to provide the java.library.path at startup. You can programmatically set it with
java.library.path
System.setProperty("java.library.path", "/var/folder/bla/foo/bar/");
I don't know if System.load() will work somehow without this library path.
System.load()