quality:correction
Ethnicity and culture

Despite its large population and in contrast to the other larger islands of Indonesia, Java is comparatively homogeneous in ethnic composition. Only two ethnic groups are native to the island—the Javanese and Sundanese. A third group is the Madurese, who inhabit the island of Madura off the northeast coast of Java, and have immigrated to East Java in large numbers since the 18th century. The Javanese comprise about two-thirds of the island's population, while the Sundanese and Madurese account for 38% and 10% respectively. The fourth group is the Betawi people that speak a dialect of Malay, they are the descendants of the people living around Batavia from around the 17th century. Betawis are creole people, mostly descended from various Indonesian archipelago ethnic groups such as Malay, Sundanese, Javanese, Balinese, Minang, Bugis, Makassar, Ambonese, mixed with foreign ethnic groups such as Portuguese, Dutch, Arab, Chinese and Indian brought to or attracted to Batavia to meet labour needs. They have a culture and language distinct from the surrounding Sundanese and Javanese.

The Javanese prose text Tantu Pagelaran (c. 15th century) explained the mythical origin of the island and its volcanic nature.

Four major cultural areas exist on the island: the central part of Java or Yogyakarta is the Javanese people heartland and the north coast of the pasisir region, the Sunda lands (Sundanese: ᮒᮒᮁ ᮞᮥᮔ᮪ᮓ, Tatar Sunda) in the western part of Java and Parahyangan as the heartland, the eastern salient of Java also known as Blambangan. Madura makes up a fifth area having close cultural ties with coastal eastern Java. The kejawen of Javanese culture is the island's most dominant. Java's remaining aristocracy is based here, and it is the region from where the majority of Indonesia's army, business, and political elite originate. Its language, arts, and etiquette are regarded as the island's most refined and exemplary. The territory from Banyumas in the west through to Blitar in the east and encompasses Indonesia's most fertile and densely populated agricultural land.

In the southwestern part of Central Java, which is usually named the Banyumasan region, a cultural mingling occurred; bringing together Javanese culture and Sundanese culture to create the Banyumasan culture. In the central Javanese court cities of Yogyakarta and Surakarta, contemporary kings trace their lineages back to the pre-colonial Islamic kingdoms that ruled the region, making those places especially strong repositories of classical Javanese culture. Classic arts of Java include gamelan music and wayang puppet shows.

Java was the site of many influential kingdoms in the Southeast Asian region, and as a result, many literary works have been written by Javanese authors. These include Ken Arok and Ken Dedes, the story of the orphan who usurped his king, and married the queen of the ancient Javanese kingdom; and translations of Ramayana and Mahabharata. Pramoedya Ananta Toer is a famous contemporary Indonesian author, who has written many stories based on his own experiences of having grown up in Java, and takes many elements from Javanese folklore and historical legends.