MVN

com.sun.jna : jna

Maven & Gradle

Sep 18, 2009
56 usages

JNA · JNA provides Java programs easy access to native shared libraries (DLLs on Windows) 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.

<dependency>
    <groupId>com.sun.jna</groupId>
    <artifactId>jna</artifactId>
    <version>3.0.9</version>
</dependency>
Copy
pom.xml
Table Of Contents

Latest Version

Choose a version of com.sun.jna : jna to add to Maven or Gradle - Latest Versions:

  • Latest Stable: 3.0.9

All Versions

Choose a version of com.sun.jna : jna to add to Maven or Gradle - All Versions:

Version Vulnerabilities Updated
3.0.x
jna-3.0.9
jna-3.0.5

How to add a dependency to Maven

Add the following com.sun.jna : jna maven dependency to the pom.xml file with your favorite IDE (IntelliJ / Eclipse / Netbeans):

<dependency>
    <groupId>com.sun.jna</groupId>
    <artifactId>jna</artifactId>
    <version>3.0.9</version>
</dependency>

How to add a dependency to Gradle

Gradle Groovy DSL: Add the following com.sun.jna : jna gradle dependency to your build.gradle file:

implementation 'com.sun.jna:jna:3.0.9'

Gradle Kotlin DSL: Add the following com.sun.jna : jna gradle kotlin dependency to your build.gradle.kts file:

implementation("com.sun.jna:jna:3.0.9")

How to add a dependency to SBT Scala

SBT Scala: Add the following com.sun.jna : jna sbt scala dependency to your build.sbt file:

libraryDependencies += "com.sun.jna" % "jna" % "3.0.9"

Advertisement

Dependencies from Group

jna
Sep 18, 2009
56 usages

Discover Dependencies

Mar 22, 2012
85 usages
Jul 18, 2023
96 usages
16.7k stars
Dec 15, 2021
322 usages
932 stars
Jun 18, 2023
1.1k usages
3.1k stars
Aug 29, 2018
1.1k usages
519 stars
Apr 07, 2023
67 usages
146 stars
Mar 17, 2009
10 usages
Jun 06, 2023
584 usages
168 stars
Jul 01, 2023
34 stars
Jul 07, 2023
147 usages
2.5k stars