Update Java version to 7