SAMZA-202; support java 8 for runtime and compile time