I want to load a dynamic library with native method implementatons, located in java.library.path, that has the suffix .cdl. The following, unfortunately, does not work.
static {
System.loadLibrary("java4d.cdl");
}
How can I load my java4d.cdl library?
What if you use System.load(“java4d.cdl”)?
Note that the arguments needs to be the absolute path:
http://docs.oracle.com/javase/7/docs/api/java/lang/System.html#load(java.lang.String)