the cheese tree grows in both clay and sandy soils, and is found in rainforest and wetter areas in sclerophyll forest, where it may be associated with such species as bangalay ("eucalyptus botryoides"), woollybutt ("e. longifolia"), forest red gum ("e. tereticornis") thin-leaved stringybark ("e. eugenioides") and swamp she-oak ("casuarina glauca"). the hairy cheese tree grows with magenta lilly pilly ("syzygium paniculatum"), broad-leaved paperbark ("melaleuca quinquenervia"), and "rhodomyrtus" species.