Turn around JRUBY-5789

To turn around JRUBY-5789, I use the red bridge (embedded Jruby) instead of the JSR223 API.

As it was not possible to retrieve the local variable states, I update the compilation script to return the compilation errors.

Signed-off-by: Clement Escoffier <clement.escoffier@gmail.com>