Shawty implementation with Jruby