HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 13295 thumbnail
User 107114 avatar

By daniel
via nlink.dev.java.net
Published: Feb 11 2007 / 17:49

Historically, JNI has been the only option to invoke native libraries. The problem with calling native libraries with JNI is that, for every method, you need to write a java method declaration, and then a bit of native code to do the parameter conversion. This makes it difficult to casually call into native libraries, because you'd have to write another native library just for JNI handling.
  • 15
  • 0
  • 1831
  • 2

Comments

Add your comment
User 171700 avatar

pron replied ago:

1 votes Vote down Vote up Reply

Note that this works only for Windows, so far.

User 0 avatar

Scoundrel replied ago:

0 votes Vote down Vote up Reply

Very interesting, but there is also another library like this:

http://sourceforge.net/projects/jnative/

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.