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
Install
Binary package:
pkg_add jna
From the ports tree:
cd /usr/ports/java/jna && make install