Wrong build command in generate.sh for linux
Line seven of the file scripts/linux/compile.sh is by default set to -I $JAVA_HOME/include/darwin \ which presumably only works for Macs. For it to work on linux, it has to be changed to -I $JAVA_HOME/include/linux \ but this is not mentioned in the readme.