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

cryptomator/native-functions

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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