Updated java cookbook

Updated java cookbook for 7u51