BSD Ports

devel/jna 5.10.0_1 MidnightBSD

Java access to native shared libraries

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
Apache-2.0, lgpl2.1
Categories
devel, java

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

The newest version among them is 5.18.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
MidnightBSDdevel/jna5.10.0_1no data-[email protected]-
FreeBSDdevel/jna5.15.0_4none known-[email protected]-
OpenBSDjava/jna by name5.18.1p0 newestno data-The OpenBSD ports mailing-list <[email protected]>2026-10-15
DragonFlydevel/jna5.15.0_2none known-[email protected]-
HardenedBSDdevel/jna5.15.0_4no data-[email protected]-
GhostBSDdevel/jna5.15.0_4no data-[email protected]-

Compare across BSDs

Install

Binary package:

mport install jna

From mports:

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

To depend on this port in another port's Makefile:

RUN_DEPENDS=	jna>0:devel/jna

Dependencies

As this port's Makefile names them.

Build 1

Build dependencies 1

Configuration

Options name: devel_jna

OptionDefaultDescription
DOCSoff
USES
autoreconf:build gmake java:ant libtool xorg
Service scripts
none

Files

distinfo 1
FileSizeSHA256
java-native-access-jna-5.10.0_GH0.tar.gz1.06258319e+086ef63cbf6ff7c8eea7d72331958e79c9fd3635c987ce419c9f296db6c4fd66a4