java: Update to version 7u51
Merge pull request #1572 from bennofs/update-java7

java: Update to version 7u51