changed java to 1.7