nashorn needs Java 8