Question: are javelins strength or dex?
Answer: Melee weapons that have the thrown property only use Strength: Handaxe, Javelin, Light hammer, Spear & Trident. Melee weapons that have the thrown and finesse property use either Strength or Dexterity: Dagger.