Filewatcher File Search File Search
Content Search
» » » » »


Dynamic access of native libraries from Java without JNI

JNA provides Java programs easy access to native shared libraries without writing anything but Java code - no JNI or native code is required. This functionality is comparable to Windows' Platform/Invoke and Python's ctypes. Access is dynamic at runtime without code generation.

JNA's design aims to provide native access in a natural way with a minimum of effort. No boilerplate or generated code is required. While some attention is paid to performance, correctness and ease of use take priority.

The JNA library uses a small native library stub to dynamically invoke native code. The developer uses a Java interface to describe functions and structures in the target native library. This makes it quite easy to take advantage of native platform features without incurring the high overhead of configuring and building JNI code for multiple platforms.

Package version:3.2.7-4


libjna-java for Debian

According to the current Debian policy for java [1], all jvm should include
/usr/lib/jni in their default library search path. Apparently this is not the
case; if is not found when calling jna, please add
"-Djava.library.path=/usr/lib/jni" to your java invocation.



libjna-java (3.2.7-4) unstable; urgency=low

  * Remove optional build time dependency on openjdk-6-jdk (depend on
    default-jdk) to fix Debcheck warning.
  * Install jna-platform.jar with javahelper instead of mavenhelper
    (Closes: #629081).

 -- Andrew Ross <>  Fri, 03 Jun 2011 18:13:57 +0100

libjna-java (3.2.7-3) experimental; urgency=low

  * Seach multiarch paths 


Author: Timothy Wall <>

Files: *
 (C) 1998 Sun Microsystems, Inc.
 (C) 2007-2010 Timothy Wall <>
 (C) 2007 Thomas Boerkel
 (C) 2007 Wayne Meissner
 (C) 2007 Olivier Chafik
 (C) 2010 Daniel Doubrovkine
 (C) 2010 Digital Rapids Corp.
License: LGPL-2.1+
 This library is free software; you can redistribute it a

Browse inside libjna-java_3.2.7-4_s390x.deb

         [DIR]DEBIAN/ (2)  65535+ mirrors
         [DIR]usr/ (2)  65535+ mirrors

Download libjna-java_3.2.7-4_s390x.deb

Results 1 - 1 of 1
Help - FTP Sites List - Software Dir.
Search over 15 billion files
© 1997-2017