Fixed warnings related to JRE previously set to Java 1.7