Reintroduce the java dependency commit

Done by [Kiyoshi at pull request 697](https://github.com/imathis/octopress/pull/697), but don't known why haven't enter 2.1 branch