Adjust line endings.
Upgrade to Java 7.