Revert compile-java-code.sh back to version in master.
Add compile-java8-code.sh and test for java8.