Can I change my name on minecraft java edition [closed]

I’ve checked mojang help and still don’t know how to change my gamertag on minecraft java edition.


On Java Edition, you can change your name by going to your Mojang account and clicking the "Change" button next to your current username.

To change your XBox gamertag, go to your XBox account through Microsoft, click the Customize option, then change your gamertag.