Path to this page:
./
devel/java-jna,
JNA provides Java programs easy access to native shared libraries.
Branch: pkgsrc-2021Q1,
Version: 5.2.0nb2,
Package name: java-jna-5.2.0nb2,
Maintainer: nonakapJNA 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.
JNA allows you to call directly into native functions using natural Java
method invocation. The Java call looks just like the call does in native code.
Most calls require no special handling or configuration; no boilerplate or
generated code is required.
JNA uses a small JNI 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. Read this more in-depth
description.
While significant attention has been paid to performance, correctness and
ease of use take priority.
In addition, JNA includes a platform library with many native functions already
mapped as well as a set of utility interfaces that simplify native access.
Master sites:
SHA1: 295b9fb5103372487f0a49e6fe203e3a3e341dce
RMD160: 4415e399502ac0d79d19480f7cc3d6b8c7537b3a
Filesize: 75325.828 KB
Version history: (Expand)
- (2021-03-30) Package added to pkgsrc.se, version java-jna-5.2.0nb2 (created)