jre should be 1.8, enable java and scala unit test