Prepare for 5.1 release - Moving to JDK 1.7 for the code samples.