Java is almost entirely of volcanic origin, and contains numerous volcanoes, 20 of which have been active in recent historical times.