Revert "update java 1.7"

This reverts commit 015e9fca8e7f670161ab0ac14ff8476cf8545f81.