I highly doubt Jesus had long hair. I'm sure he had a long beard, but long hair I doubt.....European artist invention.
It was customary in many churches during biblical times that men not have long hair.
1 Corinthians 11:14-16
14 Does not even nature itself teach you that if a man has long hair, it is a dishonor to him, 15 but if a woman has long hair, it is a glory to her? For her hair is given to her for a covering. 16 But if one is inclined to be contentious, we have no [a]other practice, nor have the churches of God.