Skip to content
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.

Latest commit

 

History

History
39 lines (24 loc) · 924 Bytes

README.md

File metadata and controls

39 lines (24 loc) · 924 Bytes

Build Status

Cryptomator's Foreign Function Interface

This library contains both the Java part as well as the native libraries required to fulfill certain functionality that isn't available directly from Java.

Building on Windows

Requirements

  • Windows 10
  • mingw 8.1.0 (POSIX, SEH) (run choco install mingw)
  • OpenJDK 11
  • Maven 3

Building

Navigate to the JNI directory and run mvn clean install.

Building on macOS

Requirements

  • macOS 10.13+
  • XCode Command Line Tools (run xcode-select --install)
  • OpenJDK 11
  • Maven 3

Building

Navigate to the JNI directory and run mvn clean install.

Generate Header File

Navigate to the JNI directory and run:

javac -cp JNI/target/classes -h MacFunctions JNI/src/main/java/org/cryptomator/jni/Mac*.java