UPSC or the civil services (including being a judge) comes much karte. Since you have completed class 12, you should now proceed for a graduation degree like BA, BBA, LLB in your desired stream and subjects and parallely prepare for UPSC exam for civil services and Judicial Exam for being a judge.
Given your good percentage it won't be difficult to get admission in a decent college.
Plus according to me an IAS or IPS etc (through UPSC) are much more prestigious occupations than of a judge, but it all depends on your interests. No occupation is beneath another, all are equal and both these are very reputable and dignified positions.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile