Electric fence is the only thing that keeps out groundhogs and raccoons. Probably would work on javelinas. A 4 volt solar charger is enough for most gardens and not too expensive.