James was called "the Just" because of his ascetic practices, which involved taking Nazarite vows. The name also helps distinguish him from other important figures in early Christianity, such as James, son of Zebedee.