use java7 instead of 8