This gem provides the InfraRuby Java integration for Ruby interpreters.
require "infraruby-java" c1 = Int32[1] c2 = Int32[2] puts c1 + c2
http://infraruby.com/