Coconut crabs deposit their larvae in the sea where the juveniles develop. They have to live near salt water and are especially vulnerable to loss of habitat due to coastal development.