Updated to Java 7. Moved licensecheck config to a better location.