jna - Java Native Access

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename jna-4.5.1-4.1.noarch.rpm
Package name jna
Package version 4.5.1
Package release 4.1
Package architecture noarch
Package type rpm
Category Development/Libraries/Java
Homepage https://github.com/twall/jna
License LGPL-2.1-or-later OR Apache-2.0
Maintainer -
Download size 725.45 KB
Installed size 2.60 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.
Access is dynamic at runtime without code generation.  JNA's design aims to
provide native access in a natural way with a minimum of effort. No boilerplate
or generated code is required. While some attention is paid to performance,
correctness and ease of use take priority.
The JNA library uses a small native library (libjnidispatch) 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.


Package Version Architecture Repository
jna-4.5.1-76.2.noarch.rpm 4.5.1 noarch Education
jna-4.5.1-75.3.noarch.rpm 4.5.1 noarch JAVA
jna - - -


Name Value
java-headless -
javapackages-filesystem -
libjnidispatch = 4.5.1


Name Value
jna = 4.5.1-4.1
mvn(net.java.dev.jna:jna) = 4.5.1
mvn(net.java.dev.jna:jna-platform) = 4.5.1
mvn(net.java.dev.jna:jna-platform:pom:) = 4.5.1
mvn(net.java.dev.jna:jna:pom:) = 4.5.1
mvn(net.java.dev.jna:platform) = 4.5.1
mvn(net.java.dev.jna:platform:pom:) = 4.5.1
osgi(com.sun.jna) = 4.5.1
osgi(com.sun.jna.platform) = 4.5.1


Type URL
Mirror widehat.opensuse.org
Binary Package jna-4.5.1-4.1.noarch.rpm
Source Package libjnidispatch-4.5.1-4.1.src.rpm

Install Howto

Install jna rpm package:

# zypper install jna




2019-03-13 - Fridrich Strba <fstrba@suse.com>
- Decide whether to apply the jna-4.5.0-nojavah.patch according
to what java-devel version is used for build
2018-10-24 - Fridrich Strba <fstrba@suse.com>
- Install the provided pom*.xml files in order to make maven aware
about the jna-platform too
2018-07-26 - msuchanek@suse.com
- Fix dealing with different java environments
- Fix license warning
2018-06-13 - msuchanek@suse.com
- do not apply nojavah on Leap 42.3 - breaks build
- quiet warnings
+ jna-msgsize.patch
+ jna-callback.patch
+ delete jna-no-werror.patch
2018-06-12 - fstrba@suse.com
- Upstrem version 4.5.1
- Modified patch:
* jna-4.5.0-nojavah.patch -> jna-4.5.1-nojavah.patch
+ Rediff to changed context, rework dependency chain and do not
try to load urls in the no-network build environment
- Added patch:
* jna-no-werror.patch
+ Disable -Werror to enable build with two new warnings
- Build with compatibility 1.8
2018-01-09 - fstrba@suse.com
- Added patch:
* jna-4.5.0-nojavah.patch
+ Fix build with jdk10
+ Generate relevant header files during javac run
2018-01-02 - fstrba@suse.com
- Force build with jdk < 10
2017-10-30 - ecsos@opensuse.org
- change version and name from jna-4.1.0.pom to jna-4.5.0.pom
- fix require libjnidispatch-version in jna-package
2017-09-19 - fstrba@suse.com
- Upstream version 4.5.0
- Removed patch:
* reproducible.patch
+ integrated upstream
- Added patch:
* jna-getpeer.patch
+ upstream workaround to the inaccessibility of the getPeer
+ Fix build with jdk9
- Modified patch:
* jna-build.patch
+ rediff to the new context
2017-09-19 - fstrba@suse.com
- Build with source and target levels 1.6
- Force building with java-devel < 1.9, since the code uses APIs
removed in jdk9

See Also

Package Description
jna-javadoc-4.5.1-4.1.noarch.rpm Javadoc for Java Native Access
jo-1.2-1.1.i586.rpm JSON output from a shell
jo-1.2-1.1.x86_64.rpm JSON output from a shell
joda-convert-1.9.2-1.1.noarch.rpm Java library for conversion to and from standard string formats
joda-convert-javadoc-1.9.2-1.1.noarch.rpm API documentation for joda-convert
joda-time-2.10.1-1.1.noarch.rpm Java date and time API
joda-time-javadoc-2.10.1-1.1.noarch.rpm Javadocs for joda-time
joe-4.6-2.1.i586.rpm A Text Editor
joe-4.6-2.1.x86_64.rpm A Text Editor
jogl2-2.3.2-7.4.i586.rpm Java bindings for the OpenGL API
jogl2-2.3.2-7.4.x86_64.rpm Java bindings for the OpenGL API
john-1.8.0-10.4.i586.rpm Detects Weak Passwords
john-1.8.0-10.4.x86_64.rpm Detects Weak Passwords
jomolhari-fonts-alpha003-3.11.noarch.rpm Tibetan Font
jondo-00.20.001-1.5.noarch.rpm Proxy client for the anonymous proxy system JonDonym