Updated required JRE to Java8.