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.4-2


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.4-2) unstable; urgency=low

  * make libjna-java buildable on GNU/kFreeBSD
  * debian/control: set Build-Depends to default-jdk | openjdk-6-jdk
  * set JAVA_HOME to /usr/lib/jvm/default-java
  * add debian/patches/05-support-gnu-kfreebsd.patch to support
    GNU/kFreeBSD architectures
  * debian/rules: add -Djni.md5="" to ant call
  * import debian/patches/50-remove-gjdoc-inexiste


Author: Timothy Wall <>

Files: *
 (C) 1998 Sun Microsystems, Inc.
 (C) 2007-2009 Timothy Wall <>
 (C) 2007 Thomas Boerkel
 (C) 2007 Wayne Meissner
 (C) 2007 Olivier Chafik
License: LGPL-2.1+
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General 

Browse inside libjna-java_3.2.4-2_i386.deb

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

Download libjna-java_3.2.4-2_i386.deb

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