BSD Ports

devel/jna 5.15.0_2 DragonFly

Java access to native shared libraries

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
APACHE20, LGPL21+
Categories
devel, java
Package size
9283.0 KiB, 56351.8 KiB installed

Description

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 allows you to call directly into native functions using natural Java method invocation. The Java call looks just like it does in native code. Most calls require no special handling or configuration; no boilerplate or generated code is required.

In the other systems

SystemPortVersion
DragonFlydevel/jna5.15.0_2
FreeBSDdevel/jna5.15.0_4
OpenBSDjava/jna5.18.1p0
MidnightBSDdevel/jna5.10.0_1
HardenedBSDdevel/jna5.15.0_4
GhostBSDdevel/jna5.15.0_4

Install

Binary package:

pkg install jna

From DPorts:

cd /usr/dports/devel/jna && make install clean

Dependencies

Run dependencies 2