You can see from the official Mexican seal, that the official, modern name is spelled with an X
and not a J
.
(Source: Wikipedia)
Furthermore, from @Richard's answer to another questionanswer to another question is this article about the use of x
versus j
and the change that took place.
Google ngrams also shows that, since roughly the mid 1850s, México has been the preferred spelling: