# Java Native Access (JNA)

> Call native shared libraries from Java with plain Java interfaces, no JNI code

Source: https://talira.ai/catalog/java-native-access-jna-ec5eqcgf
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / language bindings](https://talira.ai/categories/developer-tools/language-bindings), [languages / java](https://talira.ai/categories/languages/java)
- Licence: Apache-2.0 OR LGPL-2.1-or-later[^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Java Native Access project](https://talira.ai/orgs/java-native-access.md)

Java Native Access (JNA) lets Java programs call functions in native shared libraries without writing JNI or native code, much like Windows' Platform/Invoke or Python's ctypes. You describe the library's functions and structures as a Java interface, and JNA's small JNI stub invokes them dynamically. It also ships a platform library with many native functions already mapped. Apache Cassandra, Elasticsearch, IntelliJ IDEA and Apache NetBeans are among the projects that use it.

## Links

- GitHub: https://github.com/java-native-access/jna
- Docs: https://java-native-access.github.io/jna/5.19.1/javadoc/

## Problems it solves

- call a C library from Java without writing JNI
- use operating system APIs from a Java application
- load a native shared library in a JVM app

## Features

- call native functions through ordinary Java interfaces
- no JNI or native code to write or build
- maps native structures as Java classes
- platform library with many native functions already mapped

## Trust

Overall: 0.58 out of 1.
Signals: maintenance 0.67, adoption 0.79, momentum 0.51, community 0.94, backing 0.30, extensibility 0.00.

- last commit 16 days ago
- 11 commits in the last 90 days
- 8.9k GitHub stars
- 229 contributors
- backed by Java Native Access project

## Alternatives

- [rJava](https://talira.ai/catalog/rjava-8gkq86ax.md): Low-level bridge from R to Java

## Sources

[^1]: https://github.com/java-native-access/jna#readme (checked 28 Nov 2026)
[^2]: https://github.com/java-native-access/jna/blob/master/LICENSE (checked 28 Nov 2026)
