Fixed Java platform version problem. (Upgraded to 1.7)