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 Updated
  • jna-3.0.9

    Sep 18, 2009
  • jna-3.0.5

    Dec 26, 2008

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
Jan 12, 2023
96 usages
10k stars
Dec 15, 2021
322 usages
813 stars
Sep 13, 2022
1.1k usages
Aug 29, 2018
1.1k usages
519 stars
Jan 03, 2023
67 usages
Mar 17, 2009
10 usages
Oct 18, 2022
584 usages
132 stars
Jul 13, 2022
36 stars
Jan 30, 2023
147 usages
2.3k stars
image

Maven Repository

Search Maven dependencies with Maven Repository Chrome Extension

Add to Chrome