Support JRuby platform