Use 2.0 mode with JRuby

Signed-off-by: David Celis <me@davidcel.is>