Tunnel in the Sky (1955) – a high school class in survival is stranded on an alien planet when a star goes nova and makes their transporter device inoperable. They survive the various hazards of the planet, and some they brought with them, and build the beginnings of a civilization.
For more information on Heinlien's Juveniles (written between 1947 and 1958) see our entry on Robert Heinlein's Rocket Ship Galileo, The Literary Encyclopedia profile by William Patterson, University of California, Santa Cruz
Patterson, William. "Tunnel in the Sky". The Literary Encyclopedia. First published 10 November 2004
[http://www.litencyc.com/php/sworks.php?rec=true&UID=16613, accessed 25 February 2017.]