JRuby and JNI


#1

I have a C++ shared library and want to call containing methods from
JRuby.
I’m aware of Ruby-FFI but don’t want to use it. Rather, I want to use
the JNI. I’m looking for a tutorial how to use JNI within JRuby but
haven’t found a good one so far.
So it looks like that this is not a common scenarion. Am I right? Are
there any drawbacks when using JNI with JRuby?