Examples using API Nashorn java 8