OpenBSD Handbook

Current snapshot · amd64 · Generated 2026-09-09

jna-5.18.1

Java Native Access (JNA)

Back to search · Project homepage

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.

Package information

Ports path
java/jna
Package architecture
amd64
Maintainer
The OpenBSD ports mailing-list <ports@openbsd.org>
Categories
devel, java
Available flavors
None listed
Only for architectures
i386, amd64, aarch64, sparc64

These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.

Direct dependencies

Library

Runtime

Build

Test

Used by (4 dependency relationships)

Includes library, runtime, build and test relationships. Results load 100 at a time.

Installing and updating packages · Package details as JSON