Changing java cookbook dependency