libjna-java - Dynamic access of native libraries from Java without JNI

Distribution: Debian 8 (Jessie)
Repository: Debian Main amd64
Package name: libjna-java
Package version: 4.1.0
Package release: 1
Package architecture: all
Package type: deb
Installed size: 233 B
Download size: 159.29 KB
Official Mirror:
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.




    Source package: libjna-java

    Install Howto

    1. Update the package index:
      # sudo apt-get update
    2. Install libjna-java deb package:
      # sudo apt-get install libjna-java


    • /usr/share/doc/libjna-java/README.Debian
    • /usr/share/doc/libjna-java/changelog.Debian.gz
    • /usr/share/doc/libjna-java/changelog.gz
    • /usr/share/doc/libjna-java/copyright
    • /usr/share/java/jna-4.1.0.jar
    • /usr/share/java/jna.jar
    • /usr/share/maven-repo/net/java/dev/jna/jna/4.1.0/jna-4.1.0.jar
    • /usr/share/maven-repo/net/java/dev/jna/jna/4.1.0/jna-4.1.0.pom
    • /usr/share/maven-repo/net/java/dev/jna/jna/debian/jna-debian.jar
    • /usr/share/maven-repo/net/java/dev/jna/jna/debian/jna-debian.pom


    2014-10-16 - Emmanuel Bourg <> libjna-java (4.1.0-1) unstable; urgency=low * Team upload [ Andrew Ross ] * New upstream release (Closes: #733488) * Refreshed the patches (up to version 3.4.1) * Link javadoc to default-jdk API * Remove Michael Koch <> from uploaders (Closes: #654084). * Use hardening-wrapper to correct lintian warnings. * Update d/watch for new upstream location [ Emmanuel Bourg ] * Refreshed the patches (up to version 4.1.0) * Removed 08-multiarch-support.patch (merged upstream since JNA 3.5.0) * Removed 02-builddir.patch (merged upstream since 4.0.0) * Removed 05-support-gnu-kfreebsd.patch (merged upstream since 4.0.0) * Added a default implementation of Structure.getFieldOrder() to preserve the compatibility with JNA < 3.5.0 * Moved into its own new arch any libjna-jni package * Install in a multiarch path * Install the Maven artifacts for the platform jar (Closes: #743732) * Moved platform.jar to its own libjna-platform-java package * Added a repack script to clean the upstream tarball * Install the upstream changelog * debian/control: - Use canonical URLs for the Vcs-* fields - Standards-Version updated to 3.9.6 (no changes) * Switch to debhelper level 9 * debian/copyright: - Updated to the Copyright Format 1.0 - Fixed the short name of the license applied to the debian/* files - JNA is now dual licensed under the LGPL-2.1+ or the Apache-2.0 license

    2011-06-03 - Andrew Ross <> 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).

    2011-05-25 - Andrew Ross <> libjna-java (3.2.7-3) experimental; urgency=low * Seach multiarch paths for libraries (Closes: #620122)

    2011-05-22 - Andrew Ross <> libjna-java (3.2.7-2) unstable; urgency=low * Build and install platform.jar too. * Bump Standards-Version to 3.9.2. * Drop dependency on jre. * Update debian/copyright to cover platform code. * Add myself to uploaders.

    2011-02-20 - Jan Dittberner <> libjna-java (3.2.7-1) unstable; urgency=low * New upstream release (Closes: #602564) * refresh patches * switch debian/watch to new kenai URL * change SVN URL in debian/ * fix debian/ to use the directory given to uscan via -destdir * add mh_clean to clean target in debian/rules * bump Standards-Version to 3.9.1 * bump maven-repo-helper dependency to (>= 1.5~) * don't compress example java files

    2010-05-26 - Jan Dittberner <> 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-inexistent-options.dpatch as debian/patches/06-remove-gjdoc-inexistent-options.patch

    2010-04-21 - Jan Dittberner <> libjna-java (3.2.4-1) unstable; urgency=low [ Ludovic Claude ] * Team upload. * New upstream release * Added myself as uploader * Add Maven metadata * debian/control: - add dependency on maven-repo-helper [ Jan Dittberner ] * refresh patches