Skip to content
This repository has been archived by the owner on Dec 14, 2017. It is now read-only.

Native Library Dependencies

Raynes edited this page Jun 16, 2011 · 1 revision

Cake will automatically extract precompiled native libraries for your os and architecture from dependency jars and put them in lib/native/ and lib/dev/native/. Native libraries must be located in native/<os-name>/<os-arch>/ within the jar.

os-name -> linux | macosx | solaris | windows
os-arch -> x86_64 | x86 | arm | sparc

Cake also adds these directories to java.library.path when starting the JVM. If you want to add additional paths to java.library.path, you can add a property called jvm.library.path to .cake/config.

Clone this wiki locally