Quite frankly, we don't know exactly what Jesus taught, we only know an echo, that is, what men wrote over a hundred years later. Moreover, what we think we know about what Jesus taught is itself subject to diverse interpretation.
Based on what I know about Jesus, and on what the entire Bible reveals to me about God Himself, I reject the notion that the only path to heaven is through Christianity.