Despite what the internet says as well, Javelina are in no way closely related to rodents. I have read numerous places where they are claimed to be rodents. I think folks are likely confusing them with capybara, LOL.
Rodents are an Order (Rodentia), not a Family. Javelina are in the same Order as deer, bison, cattle, goats, camels, and hogs, Cetartiodactyla (formerly Artiodactyla, now reclassified with Cetacea) which includes the even-toed ungulates and cetaceans that evolved from even-toed ungulates.
With that said, javelina are not true hogs, but are hog-like and are in the same Suborder, Suina with hogs, but each is in a different family (Tayassuidae for javelina and Suidae for hogs).
So look up Collared Peccary (Pecari tajacu) which is the one we have in the US and not the size and basic coloration/patterning (which is very consistent in adults) and compare that with anything you find on feral hogs (Sus scrofa).