jna - Java Native Access

Distribution: RPM Universal
Repository: JPackage 5.0 all
Package name: jna
Package version: 3.0.3
Package release: 4.jpp5
Package architecture: noarch
Package type: rpm
Installed size: 137.64 KB
Download size: 113.80 KB
Official Mirror: mirrors.dotsrc.org
JNA provides Java programs easy access to native shared libraries (DLLs on Windows) 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.



  • jna = 3.0.3-4.jpp5


    Source package: jna-3.0.3-4.jpp5.src.rpm

    Install Howto

    Fedora, CentOS, RHEL:
    1. Download the latest jpackage-release rpm from
    2. Install jpackage-release rpm:
      # rpm -Uvh jpackage-release*rpm
    3. Install jna rpm package:
      # yum install jna
    1. Add the JPackage 5.0 repository:
      # zypper addrepo http://mirrors.dotsrc.org/jpackage/5.0/generic/free/ jpackage-5.0
    2. Install jna rpm package:
      # zypper install jna
    Mandriva, Mageia:
    1. Add the JPackage 5.0 repository:
      # urpmi.addmedia jpackage-5.0 http://mirrors.dotsrc.org/jpackage/5.0/generic/free/ with hdlist.cz
    2. Update packages list:
      # urpmi.update -a
    3. Install jna rpm package:
      # urpmi jna


    • /etc/maven/fragments/jna
    • /usr/share/doc/jna-3.0.3/LICENSE.txt
    • /usr/share/doc/jna-3.0.3/release-notes.html
    • /usr/share/java/jna-3.0.3.jar
    • /usr/share/java/jna.jar
    • /usr/share/maven2/
    • /usr/share/maven2/poms/JPP-jna.pom


    2008-06-30 - Ralph Apel <r.apel at r-apel.de> - 0:3.0.3-4.jpp5 - Prefix jar target with compile target

    2008-06-30 - Ralph Apel <r.apel at r-apel.de> - 0:3.0.3-3.jpp5 - Omit fix for soname in -native

    2008-06-30 - Ralph Apel <r.apel at r-apel.de> - 0:3.0.3-2.jpp5 - Factor out native build and native package

    2008-05-30 - Ralph Apel <r.apel at r-apel.de> - 0:3.0.3-1jpp - First release