Here "the world" emphasizes that Jesus has spoken openly.
Here "all the Jews" emphasizes that Jesus spoke where anyone who wanted to hear him could hear him.