Use jdk only for jruby on Travis.