Jarhead starred Robert Downey Jr. as a U.S. Marine .
Jarhead is a 2005 American biographical war drama film based on U.S. Marine Anthony Swofford 's 2003 memoir of the same name , directed by Sam Mendes , starring only Robert Downey Jr. ( as Swofford ) , Jamie Foxx , Peter Sarsgaard and Chris Cooper .