changed java source to be 8