The eruption of Anak Krakatau, which is located on a small island in the Sunda Strait, forced the closure of eight airports, including two serving the capital Jakarta.