See spear weilding soldier below who appears to be Javanese ...Quote."One of seven paintings by William Daniell, originally painted for Thomas Stamford Raffles, History of Java. Similar images are in the 1817 edition of the book". Unquote. see
www.britishmuseum.org
They were also often used as mercenaries in Sri Lanka..Interestingly working for example for the Dutch then agreeing to work for the English when they assumed control... as did Swiss and French mercenaries.
Regards,
Ibrahiim al Balooshi.