Probably my favorite medicine for Javelina is a Marlin 1894 in 357 Mag. Either a 180gr XTP, or Nosler Partition.

2nd favorite is a 30-06. Both served me very well when I lived down south in the South Texas mesquite country.