Add some java/jruby settings to speed up jruby builds on travis