James M. Oakley (June 19, 1839 in New York City – March 25, 1887 in Jamaica, Queens County, New York) was an American politician from New York.