Neither Java fern or Java moss will live out of water for long, particularly Java fern. Java moss has a chance if it is kept moist. I like Pothos for everything. Wandering Jew is good too. Try this page by Jennifer Macke at Caudata.org: Plants I Like in Aquariums and Terrariums