jcsuperstar wrote:are jains against the caste system? where there ever jain kings who replaced hindu kings and got rid of the caste system?
Yes, the Jains are against caste, just like Buddhism. I think there may have been a few Jain kings, but never long enough to get rid of the caste system.
The Jains are also non-theistic like Buddhism. The major differences are on anatta, kamma, and nibbana.
I think Jainism survived because it was more similar to Hinduism and Buddhism survived and expanded in the Mahayana form because this too was more like Hinduism, but then went to Tibet, China, and other parts of Asia.