Changed java version to 1.6 from 1.7 for more compatibility.