Withstanding temperatures slightly below 0 °C (32 °F) and up to about 50 °C (120 °F) and annual rainfall of 500–2,500 mm (20–100 in), the tree grows wild on sandy and rocky soils, including oolitic limestone, and will grow in most soil types, even with its roots in salt water.