How a brutal massacre in 1740 ignited a two-year war for Java's soul
Following the Dutch slaughter of 10,000 ethnic Chinese in Batavia, a desperate alliance of Chinese survivors and Javanese royals rose against the Dutch East India Company. This forgotten conflict reshaped the island, toppling the Sultanate of Mataram and forcing the Dutch into a fragile, costly victory that redefined colonial rule.
The Java War, spanning 1741 to 1743, originated from the 1740 Batavia massacre, where Dutch forces killed an estimated 10,000 ethnic Chinese. Survivors, led by Khe Pandjang, fled east to Semarang, forging an unlikely coalition with Javanese forces who were increasingly disillusioned with Dutch influence. The conflict was marked by complex deceptions, including Javanese troops staging sham battles to convince the Dutch of their loyalty while secretly supporting the insurgents.
Military leadership on the Dutch side was initially chaotic. Bartholomeus Visscher, the Dutch military commander, suffered a mental breakdown during the siege of Semarang in 1741, at one point crashing his carriage into city walls. The tide turned when Prince Cakraningrat IV of Madura defected to the Dutch, launching a brutal campaign against the Chinese. Meanwhile, Sunan Pakubuwono II of Mataram vacillated between supporting the rebels and capitulating to the Dutch, eventually being disowned by his own princes in April 1742 in favor of a new leader, Sunan Kuning.
By late 1742, the rebellion began to collapse as Dutch reinforcements and superior firepower reclaimed key cities. Cakraningrat IV retook the capital of Kartosuro in December 1742, and the last Chinese insurgents surrendered by early 1743. The war concluded with a treaty that forced Pakubuwono II to cede the northern coast of Java and Madura to the Dutch, while imposing a heavy annual tribute of 8,600 tonnes of rice.
The aftermath left the Dutch East India Company exhausted, despite its territorial gains. The war’s legacy was the permanent fracturing of the Sultanate of Mataram into the Sunanate of Surakarta and the Sultanate of Yogyakarta. Pakubuwono II died in 1749, his reign remembered for its dependency on Dutch protection, while the broken promises made to allies like Cakraningrat IV—who was later exiled to the Cape of Good Hope—highlighted the volatile nature of colonial power dynamics.
Source: Java War (1741–1743)