working java 1.7 check