Among bamboo, shallow soil over rock; rocky slopes especially cliffs; sometimes along forest margins; along the coast in coarse sandy soil or grassy dunes, usually in shade; near sea level to 2000 m alt.