Added java dependency cookbook.