Javelina occasionally bite humans, but incidents of bites are almost always associated with people providing the javelina with food. ... Javelina may act defensively when cornered, to protect their young, or when they hear or smell a dog.
What do you do if you encounter a javelina?
Burnett said if you see javelina, your best bet is to turn around right away. And if that is not an option, there's more you can do. “You can yell in a low tone of voice and make yourself the predator in that situation," Burnett said.
How do you scare away a javelina?
Washing surfaces with a diluted ammonia and bleach solution gives off a smell that is unattractive to javelinas. Also, smells such as chili peppers and other hot vegetables are also unappetizing to the animals. Spread chili pepper flakes near places that javelinas may use as entrances to deter them from entering.