Nashorn JavaScript engine

Execute JavaScript file

Intercept script output

Hello Nashorn

Evaluate Arithmetic Strings

Set global variables

Set and get global variables

Usage of Java objects in JavaScript in Nashorn

Implementing an interface from script