Update Java to version 1.8.0.
Merge pull request #3601 from sigito/java8

Updated Java to version 1.8.0.