# devel/java-jna - The NetBSD Packages Collection

JNA provides Java programs easy access to native shared libraries

    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.

    JNA allows you to call directly into native functions using natural Java
    method invocation. The Java call looks just like the call does in native code.
    Most calls require no special handling or configuration; no boilerplate or
    generated code is required.

    JNA uses a small JNI library stub to dynamically invoke native code.
    The developer uses a Java interface to describe functions and structures
    in the target native library. This makes it quite easy to take advantage of
    native platform features without incurring the high overhead of configuring
    and building JNI code for multiple platforms. Read this more in-depth
    description.

    While significant attention has been paid to performance, correctness and
    ease of use take priority.

    In addition, JNA includes a platform library with many native functions already
    mapped as well as a set of utility interfaces that simplify native access.

- Source version: `java-jna-5.15.0`
- Maintainer: nonakap AT gmail.com
- Website: https://github.com/java-native-access/jna
- License: gnu-lgpl-v2.1
- Package history: cvs, hg, git

## Build dependencies

pkgtools/x11-links devel/apache-ant devel/libtool-base pkgtools/mktools devel/automake devel/autoconf devel/gmake devel/pkgconf pkgtools/cwrappers

## Runtime dependencies

devel/libffi lang/openjdk17 lang/openjdk17 devel/libffi

## Binary packages

OS | Architecture | Version
--- | --- | ---
NetBSD 10.0 | aarch64 | java-jna-5.15.0.tgz
NetBSD 10.0 | earmv6hf | java-jna-5.15.0.tgz
NetBSD 10.0 | earmv6hf | java-jna-5.15.0.tgz
NetBSD 10.0 | earmv7hf | java-jna-5.15.0.tgz
NetBSD 10.0 | earmv7hf | java-jna-5.15.0.tgz
NetBSD 10.0 | i386 | java-jna-5.15.0.tgz
NetBSD 10.0 | i386 | java-jna-5.15.0.tgz
NetBSD 10.0 | sparc64 | java-jna-5.13.0nb2.tgz
NetBSD 10.0 | x86_64 | java-jna-5.15.0.tgz
NetBSD 10.0 | x86_64 | java-jna-5.15.0.tgz
NetBSD 11.0 | aarch64 | java-jna-5.15.0.tgz
NetBSD 11.0 | earmv6hf | java-jna-5.15.0.tgz
NetBSD 11.0 | earmv6hf | java-jna-5.15.0.tgz
NetBSD 11.0 | earmv7hf | java-jna-5.15.0.tgz
NetBSD 11.0 | earmv7hf | java-jna-5.15.0.tgz
NetBSD 11.0 | i386 | java-jna-5.15.0.tgz
NetBSD 11.0 | i386 | java-jna-5.15.0.tgz
NetBSD 11.0 | x86_64 | java-jna-5.15.0.tgz
NetBSD 11.0 | x86_64 | java-jna-5.15.0.tgz
NetBSD 9.0 | aarch64 | java-jna-5.15.0.tgz
NetBSD 9.0 | earmv6hf | java-jna-5.15.0.tgz
NetBSD 9.0 | earmv6hf | java-jna-5.15.0.tgz
NetBSD 9.0 | earmv7hf | java-jna-5.15.0.tgz
NetBSD 9.0 | earmv7hf | java-jna-5.15.0.tgz
NetBSD 9.0 | i386 | java-jna-5.15.0.tgz
NetBSD 9.0 | i386 | java-jna-5.15.0.tgz
NetBSD 9.0 | x86_64 | java-jna-5.15.0.tgz
NetBSD 9.0 | x86_64 | java-jna-5.15.0.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

## Available build options

(none)

## Known vulnerabilities

(no vulnerabilities known)

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.

Problem reports, updates or suggestions for this package should be reported with send-pr.