The Jainism tradition lists 63 Śalākāpuruṣa or notable figures which, amongst others, includes the twenty-four Tirthankaras and nine sets of triads. One of these triads is Krishna as the Vasudeva, Balarama as the Baladeva, and Jarasandha as the Prati-Vasudeva. In each age of the Jain cyclic time is born a Vasudeva with an elder brother termed the Baladeva. Between the triads, Baladeva upholds the principle of non-violence, a central idea of Jainism. The villain is the Prati-vasudeva, who attempts to destroy the world. To save the world, Vasudeva-Krishna has to forsake the non-violence principle and kill the Prati-Vasudeva.The stories of these triads can be found in the Harivamsa Purana (8th century CE) of Jinasena (not be confused with its namesake, the addendum to Mahābhārata) and the Trishashti-shalakapurusha-charita of Hemachandra.
The story of Krishna's life in the Puranas of Jainism follows the same general outline as those in the Hindu texts, but in details they are very different: they include Jain Tirthankaras as characters in the story, and generally are polemically critical of Krishna, unlike the versions found in the Mahabharata, the Bhagavata Purana, and the Vishnu Purana. For example, Krishna loses battles in the Jain versions, and his gopis and his clan of Yadavas die in a fire created by an ascetic named Dvaipayana. Similarly, after dying from the hunter Jara's arrow, the Jaina texts state Krishna goes to the third hell in Jain cosmology, while his brother is said to go to the sixth heaven.
Vimalasuri is attributed to be the author of the Jain version of the Harivamsa Purana, but no manuscripts have been found that confirm this. It is likely that later Jain scholars, probably Jinasena of the 8th century, wrote a complete version of Krishna legends in the Jain tradition and credited it to the ancient Vimalasuri.Partial and older versions of the Krishna story are available in Jain literature, such as in the Antagata Dasao of the Svetambara Agama tradition.
In other Jain texts, Krishna is stated to be a cousin of the twenty-second Tirthankara, Neminatha. The Jain texts state that Naminatha taught Krishna all the wisdom that he later gave to Arjuna in the Bhagavad Gita. According to Jeffery D. Long, a professor of Religion known for his publications on Jainism, this connection between Krishna and Neminatha has been a historic reason for Jains to accept, read, and cite the Bhagavad Gita as a spiritually important text, celebrate Krishna-related festivals, and intermingle with Hindus as spiritual cousins.
As Buddhism evolved in later era - Krishna got borrowed in Buddhism.
The story of Krishna occurs in the Jataka tales in Buddhism. The Vidhurapandita Jataka mentions Madhura (Sanskrit: Mathura), the Ghata Jataka mentions Kamsa, Devagabbha (Sk: Devaki), Upasagara or Vasudeva, Govaddhana (Sk: Govardhana), Baladeva (Balarama), and Kanha or Kesava (Sk: Krishna, Keshava).
Like the Jaina versions of the Krishna legends, the Buddhist versions such as one in Ghata Jataka follow the general outline of the story, but are different from the Hindu versions as well. For example, the Buddhist legend describes Devagabbha (Devaki) to have been isolated in a palace built upon a pole, after she is born, so no future husband could reach her. Krishna's father similarly is described as a powerful king, but who meets up with Devagabbha anyway, and to whom Kamsa gives away his sister Devagabbha in marriage. The siblings of Krishna are not killed by Kamsa, though he tries. In the Buddhist version of the legend, all of Krishna's siblings grow to maturity.
Krishna and his siblings' capital becomes Dvaravati. The Arjuna and Krishna interaction is missing in the Jataka version. A new legend is included, wherein Krishna laments in uncontrollable sorrow when his son dies, and a Ghatapandita feigns madness to teach Krishna a lesson. The Jataka tale also includes an internecine destruction among his siblings after they all get drunk. Krishna also dies in the Buddhist legend by the hand of a hunter named Jara, but while he is traveling to a frontier city. Mistaking Krishna for a pig, Jara throws a spear that fatally pierces his feet, causing Krishna great pain and then his death.
At the end of this Ghata-Jataka discourse, the Buddhist text declares that Sariputta, one of the revered disciples of the Buddha in the Buddhist tradition, was incarnated as Krishna in his previous life to learn lessons on grief from the Buddha in his prior rebirth:
While the Buddhist Jataka texts co-opt Krishna-Vasudeva and make him a student of the Buddha in his previous life, the Hindu texts co-opt the Buddha and make him an avatar of Vishnu. At Late Guptra Era - Krishna got borrowed into Hinduism by Brahmins and got converted into 9th Avatar of Vishnu. Eventually Krishna became one of the Prime Gods of Hinduism. The 'divine boy' Krishna as an embodiment of wisdom and endearing prankster forms a part of the pantheon of gods in Japanese Buddhism.