java-jna - JNA provides Java programs easy access to native shared libraries

Property Value
Distribution NetBSD 8.1
Repository NetBSD amd64
Package filename java-jna-5.2.0.tgz
Package name java-jna
Package version 5.2.0
Package release -
Package architecture amd64
Package type tgz
Category devel java
License gnu-lgpl-v2.1 OR apache-2.0
Maintainer -
Download size 2.31 MB
Installed size 44.62 MB
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
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.


Package Version Architecture Repository
java-jna - - -


Name Value
libffi >= 3.0.11
openjdk8 >= 1.8.202


Type URL
Binary Package java-jna-5.2.0.tgz
Source Package java-jna

Install Howto

Install java-jna tgz package:

# pkg_add java-jna



See Also

Package Description
java-lang-spec-3.0.tgz The Java(TM) Language Specification (HTML)
java-mecab-0.996.tgz MeCab java module
java-native-hyperestraier- Java native interface of Hyper Estraier
java-pure-hyperestraier- Java pure interface of Hyper Estraier
java-qdbm- Java API of QDBM
java-rxtx-2.1.7r2nb2.tgz Java serial IO library
java-subversion-1.12.0.tgz Java bindings for Subversion
java-tokyocabinet-1.24.tgz Java binding of Tokyo Cabinet
java-vm-spec-2.0nb1.tgz The Java(TM) Virtual Machine Specification (HTML)
javacc-5.0.tgz Java Compiler Compiler [tm]
javadeps-1.1nb1.tgz Automatic dependency tracking for Java
javascript-mode-2.2.1nb1.tgz Javascript major mode for Emacs
jbig2dec-0.16nb1.tgz JBIG2 decoder library
jbig2enc-0.29pre.tgz JBIG2 encoder
jbigkit-2.1.tgz JBIG-KIT lossless image compression library