change build java version from 1.5 to 1.7