Ensure java gets installed prior to JRuby.