The Javelin is a guided Anti-Tank weapon that hits targets
directly from above, where the armor is the weakest. To 
use, lock it onto a target, aim upwards and fire. Optimal
range is between 150-1000 meters, the closer you are to the
target the lower angle the weapon should be when firing,
or the missile wont hit its target. Avoid firing in a too
low angle, or the missile might hit the ground. 

See also: http://www.fas.org/man/dod-101/sys/land/javelin.htm

Courtesy: Kegetys (Finland)

Unfortunately AI does not fire the Javelin so no need for that if you are using AI in single player and/or multiplayer. I suggest you let them take the satchels instead.