Updated java cookbook version