Fix build
Merge pull request #299 from ankgup87/master

[Java] Fix build