They are native to Western Samoa, New Guinea, the Solomon Islands, the Moluccas, the Carolines and Fiji in a variety of habitats, and cultivated westward to Thailand and Malaya.