update to java 8 compilation