Let's not forget the salient issue in this: The Buddhas' 2 teachers who taught him those forms of meditation were not Jains nor were they Buddhists. In my research, the were adherents of Upanishadic thought and the Buddha used their teachings.