[#1002][Kashish,Shweta] solving language level issues, now using java 1.7