You can bury the roots and rhizome of java ferns, just not too deeply. The java fern rhizome needs oxygen and the oxygen level within the substrate is very low due poor water circulation. Lightly burying the rhizome just under the surface of the substrate should be fine.