How did Java end up on top?