Rubeus provides you an easy access to Java objects from Ruby scripts on JRuby
akimatter
gem "rubeus", "~> 0.0.9"