Change Java requirement to 1.7