System.loadLibrary with custom library suffix

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?

Answers


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)


Need Your Help

What potholes are there Using Graphql with RethinkDb?

node.js rethinkdb graphql

As I understand it's possible graphql with rethinkdb. You can use graphql to query really any data set as its just the middleware really. What issues do I need to watch out for in this implementati...

Adding react-hot-loader to ejected create-react-app

javascript reactjs webpack redux babeljs

I am using the instructions from this commit to attempt to add react-hot-loader version 3 to create-react-app. (Scroll to bottom to see babel and webpack configs)