Add Java 1.8 system packages for resolver.