Changed JRE to java 8.