Skip to content
Sections
>> Trisquel >> Packages >> nabia >> libs >> libjna-java
etiona  ] [  nabia  ] [  aramo  ]
[ Source: libjna-java  ]

Package: libjna-java (4.5.2-1build2)

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.

Other Packages Related to libjna-java

  • depends
  • recommends
  • suggests
  • dep: libjna-jni
    Dynamic access of native libraries from Java without JNI (native libs)
  • sug: libjna-java-doc
    Dynamic access of native libraries from Java without JNI (documentation)

Download libjna-java

Download for all available architectures
Architecture Package Size Installed Size Files
all 165.8 kB225 kB [list of files]