|Primary inflows||Barito, Bengawan Solo, Brantas, Ciliwung, Cimanuk, Citarum, Kahayan, Musi, Sampit River|
|Max. length||1,600 km (990 mi)|
|Max. width||380 km (240 mi)|
|Surface area||320,000 km2 (120,000 sq mi)|
|Average depth||46 m (151 ft)|
|Settlements||Batulicin, Cirebon, Jakarta, Jepara, Makassar, Pekalongan, Probolinggo, Semarang, Surabaya, Tanjung Pandan, Tegal, Toboali, Tuban|
The Java Sea (Indonesian: Laut Jawa, Javanese: Segara Jawa) is an extensive shallow sea on the Sunda Shelf, between the Indonesian islands of Borneo to the north, Java to the south, Sumatra to the west, and Sulawesi to the east. Karimata Strait to its northwest links it to the South China Sea. It is a part of the western Pacific Ocean.
The Java Sea covers the southern section of the 1,790,000 km2 (690,000 sq mi) Sunda Shelf. A shallow sea, it has a mean depth of 46 m (151 ft). It measures about 1,600 km (990 mi) east-west by 380 km (240 mi) north-south and occupies a total surface area of 320,000 km2 (120,000 sq mi).
It formed as sea levels rose at the end of the last ice age. Its almost uniformly flat bottom, and the presence of drainage channels (traceable to the mouths of island rivers), indicate that the Sunda Shelf was once a stable, dry, low-relief land area (peneplain) above which were left standing a few monadnocks (granite hills that, due to their resistance to erosion, form the present islands).
The International Hydrographic Organization (IHO) defines the Java Sea as one of the waters of the East Indian Archipelago, with the following criteria:
On the North. By the Southern limit of the South China Sea [Lucipara Point () thence to Tanjong Nanka, the Southwest extremity of Bangka Island, through this island to Tanjong Berikat the Eastern point ( ), on to Tanjong Djemang ( ) in Billiton, along the North coast of this island to Tanjong Boeroeng Mandi ( ) and thence a line to Tanjong Sambar ( ) the Southwest extreme of Borneo], the South coast of Borneo and the Southern limit of Makassar Strait [By a line from the Southwestern extreme of Celebes ( ), through the Southern point of Tana Keke, to the Southern extreme of Laoet ( ) thence up the West coast of that island to Tanjong Kiwi and thence across to Tanjong Petang, Borneo ( ) at the Southern end of Laoet Strait].
On the East. By the Western limit of Flores Sea [A line from Tg Sarokaja () to the Western Paternoster island ( ) thence to the Northeastern Postiljon Island ( ) and to the West point of Laikang Bay, Celebes].
On the South. By the Northern and Northwestern limits of Bali Sea [A line from the Western Paternoster Island to the East point of Sepandjang and thence through this island to the West point of Gedeh Bay on the South coast of Kangean (). A line from the West point of Gedeh Bay, Kangean Island, to Tg Sedano, the Northeast extreme of Java and down the East coast to Tg Bantenan, the Southeast extreme of the island], the North and West coasts of Java to Java Hoofd ( ) its Western point, and thence a line to Vlakke Hoek ( ) the Southern extreme of Sumatra.
On the West. The East coast of Sumatra between Vlakke Hoek and Lucipara Point ().
The Battle of the Java Sea from February to March 1942, was one of the costliest naval battles of World War II. The naval forces of the Netherlands, Britain, Australia, and the United States were nearly destroyed trying to defend Java from Japanese attack.
On 28 December 2014, Indonesia AirAsia Flight 8501 crashed into the Java Sea while on route to Singapore from Surabaya, East Java. All 162 passengers and crew were killed.
On 29 October 2018, Lion Air Flight 610 crashed into the Java Sea shortly after takeoff from Soekarno–Hatta International Airport in Jakarta heading towards Depati Amir Airport in Pangkal Pinang. All 189 passengers and crew on board are presumed dead.
On 9 January 2021, a Boeing 737-500 (PK-CLC) operating as Sriwijaya Air Flight 182, crashed, near Laki Island, shortly after taking off from Soekarno–Hatta International Airport, en route to Supadio International Airport, with 50 passengers and 12 crew members aboard.
The southern section of the seafloor has long been recognized as geologically similar to northern Java, where oil fields occur and extend under the sea. Prospects are also favourable for oil fields in the waters off southeast Kalimantan. As the site of successful exploration for petroleum and natural gas, the Java Sea has become the basis of Indonesia's export program.
Fishing is an important economic activity in the Java Sea. Over 3,000 species of marine life are found in the area. A number of national parks exist in the area such as Karimunjawa. The Thousand Islands are located north of the national capital Jakarta, and are the city's only regency.
The area around the Java Sea is also a popular tourist destination. Scuba diving offers a chance to explore and photograph underwater caverns, wrecks, coral, sponges, and other marine life.