BSD Ports

java/jna 5.18.1p0 OpenBSD

Java Native Access (JNA)

System
OpenBSD
Repository
OpenBSD ports
Maintainer
The OpenBSD ports mailing-list <[email protected]>
Last update
Commit
b654903936
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

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

Install

Binary package:

pkg_add jna

From the ports tree:

cd /usr/ports/java/jna && make install

Dependencies

Build dependencies 4
Run dependencies 2

Commit history 1

DateCommitCreditsLog message
b654903936 kurt Add WANTLIB required by lib inside jar file.