Java was formed by earthquakes.
Java . Formed mostly as the result of volcanic eruptions , Java is the 13th largest island in the world and the fifth largest in Indonesia . A chain of volcanic mountains forms an east -- west spine along the island .