https://github.com/bytedeco/javacpp/wiki/Gradle https://gist.github.com/bongole/05021bdd1f21578e1f6f Usage: java -jar javacpp.jar [options] [class or package (suffixed with .* or .**)] where options include: -classpath Load user classes from path -encoding Character encoding used for input and output files -d Output all generated files to directory -o Output everything in a file named after given name -nocompile Do not compile or delete the generated source files -nodelete Do not delete generated C++ JNI files after compilation -header Generate header file with declarations of callbacks functions -copylibs Copy to output directory dependent libraries (link and preload) -copyresources Copy to output directory resources listed in properties -jarprefix Also create a JAR file named "-.jar" !!! otherwise - do not create a jar -properties Load all properties from resource -propertyfile Load all properties from file -D= Set property to value -Xcompiler