Changed JRE to 1.7 to remove warning