Skip to content
Olivier Chafik edited this page Nov 8, 2022 · 7 revisions

Links to download BridJ

It is advised to use Maven or sbt to manage dependencies automatically.

<repositories>
  <repository>
    <id>nativelibs4java-repo</id>
    <url>https://nativelibs4java.sourceforge.net/maven</url>
  </repository>
</repositories>
<dependencies>
  <dependency>
	<groupId>com.nativelibs4java</groupId>
	<artifactId>bridj</artifactId>
	<version>0.4</version>
	<scope>compile</scope>
  </dependency>
</dependencies>
  • Use with sbt :
import sbt._

class Project(info: ProjectInfo) extends DefaultProject(info)
{
  val nativelibs4javaRepo = "NativeLibs4Java Repository" at "https://nativelibs4java.sourceforge.net/maven/"
  val bridj = "com.nativelibs4java" % "bridj" % "0.4-SNAPSHOT"
}

can try BridJ quickly through JNAerator (just select "BridJ" in the "Runtime" combobox).

Clone this wiki locally