Fix Java compile target to 1.6.