call java class method from jruby to learn jdk api