Added configuration for using JDK 1.7 by default.