Java Native Access

Java Native Access
Original authorsTodd Fast, Timothy Wall, Liang Chen
Initial releaseMay 9, 2007 (2007-05-09)
Stable release
5.17.0 / March 16, 2025 (2025-03-16)
Written inC and Java
Operating systemWindows, macOS, Android, AIX, FreeBSD, Linux, OpenBSD, Solaris, Windows Mobile
PlatformJava 1.4 or later (for JNA 3.5.2 or earlier), Java 1.6 for JNA 4.0.0 and later
Size1.83 MB (archived)
TypeSoftware Library
LicenseLGPL version 2.1 or later and (from version 4.0 onward) the Apache Software License, version 2.0
Websitegithub.com/java-native-access/jna
Repository

Java Native Access (JNA) is a community-developed library that provides Java programs easy access to native shared libraries without using the Java Native Interface (JNI). JNA's design aims to provide native access in a natural way with a minimum of effort. Unlike JNI, no boilerplate or generated glue code is required.

Since Java 22, the Foreign Function and Memory API was provided as a standard modern alternative.