Java Native Access (JNA)
Project homepage: https://github.com/java-native-access/jna
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
Ports list build and test dependencies as well as runtime dependencies. pkg_add selects those needed for installation.
Direct dependencies
Library
Runtime
- devel/jdk/11 jdk->=11v0
Build
- sysutils/ggrep
- devel/jdk/11 jdk->=11v0,<12v0
- devel/apache-ant
- devel/gmake
Test
Used by (4 dependency relationships)
Includes library, runtime, build and test dependencies.