gradle compileKenLM
was failing, but Gradle's "BUILD SUCCESSFUL" output lead me to think it was working:

I solved this on my Ubuntu-based system by exporting JAVA_HOME prior to building: export JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
This then resulted in a clean compileKenLM build with no errors:
