Change IntelliJ IDEA settings to build the project by Java8.