To the north it joins the Celebes Sea , while to the south it meets the Java Sea .
To the north it joins the Celebes Sea . To the south it meets the Java Sea .