BAMPFA-298: Change target java version to 1.6.