changed java from 7 to 6