Skip to content

Instantly share code, notes, and snippets.

@OpenGamma-Blog
Created May 24, 2012 13:43
Show Gist options
  • Save OpenGamma-Blog/2781617 to your computer and use it in GitHub Desktop.
Save OpenGamma-Blog/2781617 to your computer and use it in GitHub Desktop.
JNI Example 3 - OpenGamma
static {
try {
System.loadLibrary("<lib name>"); // no "lib" prefix or ".so" suffix
} catch (UnsatisfiedLinkError e) {
System.err.println("Cannot find <lib name> hooks.\n" + e);
System.exit(1);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment