Originally Posted by
Sarcasm
On Europeans, Portuguese soldiers, at least, were still carrying javelins into their North African fortresses, at the very least up to the 1580's, that I know of. In this particular example, a soldier from Mazagão (modern El Jadida) that was armed with an arquebus, a sword, a dagger, an "adarga" (leather, Moorish-like shield), a spear and 2 javelins - helping him carry all this, a slave or servant. The weapon reappears during the Peninsular war in the hands of militias and guerrillas, along with older equipment, like pikes - some no doubt home-made.
Other people, like Indians and Moroccans and Mauritanians were still using them well into the 1700's.