Oh gosh, I used JNI months ago, and still dream about this 😛 (bad experience with ffmpeg to stream from a custom hardware...)
If I remember well, the documentation is well made. Have a look at some apps using C libs for example, they need JNI to run (my experience is exclusively based on FFMPEG, which is C++)