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

Property Value
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.


Package Version Architecture Repository
libjna-java_4.1.0-1_all.deb 4.1.0 all Debian Main
libjna-java - - -


Name Value
libjna-jni -


Type URL
Binary Package libjna-java_4.1.0-1_all.deb
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




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
* 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
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

See Also

Package Description
libjna-jni_4.1.0-1_amd64.deb Dynamic access of native libraries from Java without JNI (native libs)
libjna-platform-java_4.1.0-1_all.deb Dynamic access of native libraries from Java without JNI (platform extension)
libjna-posix-java-doc_1.0.1-1_all.deb Java JNA-POSIX library API documentation
libjna-posix-java_1.0.1-1_all.deb basic POSIX-like functions for Java
libjnlp-servlet-java_20120126-2_all.deb simple and convenient packaging format for JNLP applications
libjnr-netdb-java-doc_1.0.3-3_all.deb Documentation for jnr-netdb
libjnr-netdb-java_1.0.3-3_all.deb Lookup TCP and UDP services from java
libjnr-posix-java-doc_1.1.8-2_all.deb Java JNR-POSIX library API documentation
libjnr-posix-java_1.1.8-2_all.deb basic POSIX-like functions for Java
libjnr-x86asm-java_0.1-1_all.deb Pure java x86 and x86_64 assembler
libjoda-convert-java-doc_1.5-1_all.deb Documentation for Joda Convert
libjoda-convert-java_1.5-1_all.deb Joda Convert - Java API to convert Objects to and from Strings
libjoda-time-java-doc_2.4-1_all.deb Java date and time API (developer documentation)
libjoda-time-java_2.4-1_all.deb Java date and time API
libjodconverter-java-doc_2.2.2-7_all.deb Office formats converter - Library documentation