This question already has an answer here:

I want to update my S3 the latest jelly bean. Please provide me an easy-to-follow step by step tutorial on rooting my S3 i9300.

merged by Flow Mar 22 '13 at 10:22

This question was merged with How can I root my Samsung Galaxy S3? Should I defer the system update? because it is an exact duplicate of that question.