Jakarta is the capital of Indonesia — located entirely in Southeast Asia.
Indonesia is the world's largest archipelagic state (17,000+ islands), spanning Asia and Oceania (Papua region) — but not Africa.
Confusion may arise from Indonesia's role in the Non-Aligned Movement (with African nations) or Indian Ocean trade history — but geographically, Jakarta is unequivocally Asian.