jna - Java Native Access

Property Value
Distribution openSUSE Tumbleweed
Repository Education all
Package filename jna-4.5.1-76.2.noarch.rpm
Package name jna
Package version 4.5.1
Package release 76.2
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 708.03 KB
Installed size 2.58 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-75.3.noarch.rpm 4.5.1 noarch JAVA
jna-4.5.1-4.1.noarch.rpm 4.5.1 noarch openSUSE Oss
jna - - -


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


Name Value
jna = 4.5.1-76.2
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-76.2.noarch.rpm
Source Package libjnidispatch-4.5.1-76.2.src.rpm

Install Howto

  1. Add the Education repository:
    # zypper addrepo http://widehat.opensuse.org/opensuse/repositories/Education/openSUSE_Tumbleweed/ education
  2. 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-76.2.noarch.rpm Javadoc for Java Native Access
k3dsurf-0.6.2-2.48.i586.rpm Visualize and manipulate multidimensional surfaces
k3dsurf-0.6.2-2.48.x86_64.rpm Visualize and manipulate multidimensional surfaces
kanjidic2-20141114-2.11.noarch.rpm Kanji Database
kanjivg-20140816-3.11.noarch.rpm Description of the Sinographs Used by the Japanese Language
kde-kids-theme-1.0-2.24.noarch.rpm Kids theme for the KDE Desktop
kde3-kdissert-1.0.6c-165.316.i586.rpm Mindmapping Tool
kde3-kdissert-1.0.6c-165.316.x86_64.rpm Mindmapping Tool
kdeedu3-3.5.10-73.202.i586.rpm Education Applications
kdeedu3-3.5.10-73.202.x86_64.rpm Education Applications
kding-0.6-2.1.i586.rpm A KDE port of Ding, a dictionary lookup program
kding-0.6-2.1.x86_64.rpm A KDE port of Ding, a dictionary lookup program
kiosktool-edu-settings-0.9-3.24.noarch.rpm Kiosktool settings for education
kiwi-config-openSUSE-Edu-Li-f-e-42.1-5.11.noarch.rpm Li-f-e live CD
klavaro-3.03-42.12.i586.rpm Typing tutor